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.

esnext.weak-map.of.js 402B

12345678910
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var WeakMapHelpers = require('../internals/weak-map-helpers');
  4. var createCollectionOf = require('../internals/collection-of');
  5. // `WeakMap.of` method
  6. // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of
  7. $({ target: 'WeakMap', stat: true, forced: true }, {
  8. of: createCollectionOf(WeakMapHelpers.WeakMap, WeakMapHelpers.set, true)
  9. });