Files
safari-hunt/node_modules/core-js/modules/_wks-define.js
Vahagn Khachatryan 4fa4328740 Configring node js.
2018-12-07 15:58:35 +00:00

9 lines
447 B
JavaScript

var global = require('./_global')
, core = require('./_core')
, LIBRARY = require('./_library')
, wksExt = require('./_wks-ext')
, defineProperty = require('./_object-dp').f;
module.exports = function(name){
var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});
};