lepu-test-platform-web/node_modules/core-js/internals/a-function.js

6 lines
140 B
JavaScript
Raw Permalink Normal View History

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