main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
470 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var path = require('../internals/path');
|
---|
3 | var hasOwn = require('../internals/has-own-property');
|
---|
4 | var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');
|
---|
5 | var defineProperty = require('../internals/object-define-property').f;
|
---|
6 |
|
---|
7 | module.exports = function (NAME) {
|
---|
8 | var Symbol = path.Symbol || (path.Symbol = {});
|
---|
9 | if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {
|
---|
10 | value: wrappedWellKnownSymbolModule.f(NAME)
|
---|
11 | });
|
---|
12 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.