source: trip-planner-front/node_modules/core-js/internals/set-to-string-tag.js@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 425 bytes
Line 
1var defineProperty = require('../internals/object-define-property').f;
2var has = require('../internals/has');
3var wellKnownSymbol = require('../internals/well-known-symbol');
4
5var TO_STRING_TAG = wellKnownSymbol('toStringTag');
6
7module.exports = function (it, TAG, STATIC) {
8 if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
9 defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
10 }
11};
Note: See TracBrowser for help on using the repository browser.