source: imaps-frontend/node_modules/core-js/modules/esnext.set.add-all.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 487 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var aSet = require('../internals/a-set');
4var add = require('../internals/set-helpers').add;
5
6// `Set.prototype.addAll` method
7// https://github.com/tc39/proposal-collection-methods
8$({ target: 'Set', proto: true, real: true, forced: true }, {
9 addAll: function addAll(/* ...elements */) {
10 var set = aSet(this);
11 for (var k = 0, len = arguments.length; k < len; k++) {
12 add(set, arguments[k]);
13 } return set;
14 }
15});
Note: See TracBrowser for help on using the repository browser.