source: imaps-frontend/node_modules/core-js/internals/require-object-coercible.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 346 bytes
Line 
1'use strict';
2var isNullOrUndefined = require('../internals/is-null-or-undefined');
3
4var $TypeError = TypeError;
5
6// `RequireObjectCoercible` abstract operation
7// https://tc39.es/ecma262/#sec-requireobjectcoercible
8module.exports = function (it) {
9 if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
10 return it;
11};
Note: See TracBrowser for help on using the repository browser.