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-set.of.js 403B

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