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

6 lines
140 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
module.exports = function (it) {
if (typeof it != 'function') {
throw TypeError(String(it) + ' is not a function');
} return it;
};