aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/modules/es.set.js
blob: ac9004139ffa4a30cc408deea79df968ad94d6e7 (plain)
1
2
3
4
5
6
7
8
9
'use strict';
var collection = require('../internals/collection');
var collectionStrong = require('../internals/collection-strong');

// `Set` constructor
// https://tc39.github.io/ecma262/#sec-set-objects
module.exports = collection('Set', function (init) {
  return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };
}, collectionStrong);