Version 1
[yaffs-website] / node_modules / core-js / modules / es7.error.is-error.js
diff --git a/node_modules/core-js/modules/es7.error.is-error.js b/node_modules/core-js/modules/es7.error.is-error.js
new file mode 100644 (file)
index 0000000..d6fe29d
--- /dev/null
@@ -0,0 +1,9 @@
+// https://github.com/ljharb/proposal-is-error
+var $export = require('./_export')
+  , cof     = require('./_cof');
+
+$export($export.S, 'Error', {
+  isError: function isError(it){
+    return cof(it) === 'Error';
+  }
+});
\ No newline at end of file