2019-09-13 09:44:33 +07:00

6 lines
162 B
JavaScript

// 7.2.1 RequireObjectCoercible(argument)
module.exports = function (it) {
if (it == undefined) throw TypeError("Can't call method on " + it);
return it;
};