Version 1
[yaffs-website] / node_modules / core-js / modules / _set-to-string-tag.js
diff --git a/node_modules/core-js/modules/_set-to-string-tag.js b/node_modules/core-js/modules/_set-to-string-tag.js
new file mode 100644 (file)
index 0000000..ffbddda
--- /dev/null
@@ -0,0 +1,7 @@
+var def = require('./_object-dp').f
+  , has = require('./_has')
+  , TAG = require('./_wks')('toStringTag');
+
+module.exports = function(it, tag, stat){
+  if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
+};
\ No newline at end of file