diff options
Diffstat (limited to 'node_modules/core-js/modules/esnext.set.add-all.js')
| -rw-r--r-- | node_modules/core-js/modules/esnext.set.add-all.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/core-js/modules/esnext.set.add-all.js b/node_modules/core-js/modules/esnext.set.add-all.js new file mode 100644 index 0000000..5de5089 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.add-all.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var IS_PURE = require('../internals/is-pure'); +var collectionAddAll = require('../internals/collection-add-all'); + +// `Set.prototype.addAll` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { + addAll: function addAll(/* ...elements */) { + return collectionAddAll.apply(this, arguments); + } +}); |
