_defined.js 162 B

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