Version 1
[yaffs-website] / node_modules / core-js / library / modules / _a-function.js
diff --git a/node_modules/core-js/library/modules/_a-function.js b/node_modules/core-js/library/modules/_a-function.js
new file mode 100644 (file)
index 0000000..8c35f45
--- /dev/null
@@ -0,0 +1,4 @@
+module.exports = function(it){
+  if(typeof it != 'function')throw TypeError(it + ' is not a function!');
+  return it;
+};
\ No newline at end of file