Version 1
[yaffs-website] / node_modules / core-js / modules / _strict-method.js
diff --git a/node_modules/core-js/modules/_strict-method.js b/node_modules/core-js/modules/_strict-method.js
new file mode 100644 (file)
index 0000000..96b6c6e
--- /dev/null
@@ -0,0 +1,7 @@
+var fails = require('./_fails');
+
+module.exports = function(method, arg){
+  return !!method && fails(function(){
+    arg ? method.call(null, function(){}, 1) : method.call(null);
+  });
+};
\ No newline at end of file