UNPKG

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