diff options
Diffstat (limited to 'node_modules/core-js/modules/_a-function.js')
| -rw-r--r-- | node_modules/core-js/modules/_a-function.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/core-js/modules/_a-function.js b/node_modules/core-js/modules/_a-function.js new file mode 100644 index 00000000..a9a5d84f --- /dev/null +++ b/node_modules/core-js/modules/_a-function.js @@ -0,0 +1,4 @@ +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; |
