Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / set-to-string-tag.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/set-to-string-tag.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/set-to-string-tag.js
new file mode 100644 (file)
index 0000000..4f49766
--- /dev/null
@@ -0,0 +1,11 @@
+var defineProperty = require('../internals/object-define-property').f;
+var has = require('../internals/has');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+
+var TO_STRING_TAG = wellKnownSymbol('toStringTag');
+
+module.exports = function (it, TAG, STATIC) {
+  if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
+    defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
+  }
+};