Opal-Estate-Pro/node_modules/core-js/modules/_wks.js

12 lines
358 B
JavaScript
Raw Normal View History

2019-09-13 04:44:33 +02:00
var store = require('./_shared')('wks');
var uid = require('./_uid');
var Symbol = require('./_global').Symbol;
var USE_SYMBOL = typeof Symbol == 'function';
var $exports = module.exports = function (name) {
return store[name] || (store[name] =
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
};
$exports.store = store;