Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

well-known-symbol-define.js 470B

123456789101112
  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. module.exports = function (NAME) {
  7. var Symbol = path.Symbol || (path.Symbol = {});
  8. if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {
  9. value: wrappedWellKnownSymbolModule.f(NAME)
  10. });
  11. };