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.

es.symbol.to-primitive.js 441B

1234567891011
  1. 'use strict';
  2. var defineWellKnownSymbol = require('../internals/well-known-symbol-define');
  3. var defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');
  4. // `Symbol.toPrimitive` well-known symbol
  5. // https://tc39.es/ecma262/#sec-symbol.toprimitive
  6. defineWellKnownSymbol('toPrimitive');
  7. // `Symbol.prototype[@@toPrimitive]` method
  8. // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
  9. defineSymbolToPrimitive();