mirror of https://github.com/jkjoy/sunpeiwen.git
10 lines
426 B
JavaScript
10 lines
426 B
JavaScript
var global = require('./_global');
|
|
var core = require('./_core');
|
|
var LIBRARY = require('./_library');
|
|
var wksExt = require('./_wks-ext');
|
|
var 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) });
|
|
};
|