mirror of https://github.com/jkjoy/sunpeiwen.git
6 lines
162 B
JavaScript
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;
|
||
|
};
|