441f9239f859b8e0f4da41e1e9fd84758329d7cdb9469324ad04b77836272165ac0eb23addb546dd902f328998558b9b3b7b5278b8d955628af71b5c94a4b6 346 B

1234567891011
  1. 'use strict';
  2. var isNullOrUndefined = require('../internals/is-null-or-undefined');
  3. var $TypeError = TypeError;
  4. // `RequireObjectCoercible` abstract operation
  5. // https://tc39.es/ecma262/#sec-requireobjectcoercible
  6. module.exports = function (it) {
  7. if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
  8. return it;
  9. };