source: trip-planner-front/node_modules/core-js/internals/define-well-known-symbol.js@ 6a80231

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

initial commit

  • Property mode set to 100644
File size: 437 bytes
Line 
1var path = require('../internals/path');
2var has = require('../internals/has');
3var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');
4var defineProperty = require('../internals/object-define-property').f;
5
6module.exports = function (NAME) {
7 var Symbol = path.Symbol || (path.Symbol = {});
8 if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {
9 value: wrappedWellKnownSymbolModule.f(NAME)
10 });
11};
Note: See TracBrowser for help on using the repository browser.