UNPKG

429 BJavaScriptView Raw
1'use strict';
2var $ = require('../internals/export');
3var IS_PURE = require('../internals/is-pure');
4var collectionAddAll = require('../internals/collection-add-all');
5
6// `Set.prototype.addAll` method
7// https://github.com/tc39/proposal-collection-methods
8$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
9 addAll: function addAll(/* ...elements */) {
10 return collectionAddAll.apply(this, arguments);
11 }
12});