source: trip-planner-front/node_modules/core-js/internals/require-object-coercible.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 221 bytes
RevLine 
[6a3a178]1// `RequireObjectCoercible` abstract operation
2// https://tc39.es/ecma262/#sec-requireobjectcoercible
3module.exports = function (it) {
4 if (it == undefined) throw TypeError("Can't call method on " + it);
5 return it;
6};
Note: See TracBrowser for help on using the repository browser.