source: trip-planner-front/node_modules/core-js/internals/collection-add-all.js@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 387 bytes
Line 
1'use strict';
2var anObject = require('../internals/an-object');
3var aFunction = require('../internals/a-function');
4
5// https://github.com/tc39/collection-methods
6module.exports = function (/* ...elements */) {
7 var set = anObject(this);
8 var adder = aFunction(set.add);
9 for (var k = 0, len = arguments.length; k < len; k++) {
10 adder.call(set, arguments[k]);
11 }
12 return set;
13};
Note: See TracBrowser for help on using the repository browser.