github-pages-deploy-action/node_modules/core-js-pure/internals/require-object-coercible.js

7 lines
228 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
// `RequireObjectCoercible` abstract operation
// https://tc39.github.io/ecma262/#sec-requireobjectcoercible
module.exports = function (it) {
if (it == undefined) throw TypeError("Can't call method on " + it);
return it;
};