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

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