Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
437 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var path = require('../internals/path');
|
---|
| 2 | var has = require('../internals/has');
|
---|
| 3 | var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');
|
---|
| 4 | var defineProperty = require('../internals/object-define-property').f;
|
---|
| 5 |
|
---|
| 6 | module.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.