esnext.symbol.is-well-known.js 486 B

12345678910
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var isWellKnownSymbol = require('../internals/symbol-is-well-known');
  4. // `Symbol.isWellKnown` method
  5. // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol
  6. // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
  7. $({ target: 'Symbol', stat: true, name: 'isWellKnownSymbol', forced: true }, {
  8. isWellKnown: isWellKnownSymbol
  9. });