GoScrobble/web/node_modules/core-js/internals/a-function.js

6 lines
140 B
JavaScript

module.exports = function (it) {
if (typeof it != 'function') {
throw TypeError(String(it) + ' is not a function');
} return it;
};