es.set.js 374 B

123456789
  1. 'use strict';
  2. var collection = require('../internals/collection');
  3. var collectionStrong = require('../internals/collection-strong');
  4. // `Set` constructor
  5. // https://tc39.github.io/ecma262/#sec-set-objects
  6. module.exports = collection('Set', function (init) {
  7. return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };
  8. }, collectionStrong);