Version 1
[yaffs-website] / node_modules / core-js / modules / _wks-define.js
1 var global         = require('./_global')
2   , core           = require('./_core')
3   , LIBRARY        = require('./_library')
4   , wksExt         = require('./_wks-ext')
5   , defineProperty = require('./_object-dp').f;
6 module.exports = function(name){
7   var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
8   if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});
9 };