Sha256: be9426ee80b3d2be2bfd70b7e3a3b97dd7fb449c8b3c452a256e8d9daaafc5bc
Contents?: true
Size: 513 Bytes
Versions: 4
Compression:
Stored size: 513 Bytes
Contents
'use strict'; var $ = require('../internals/export'); var aWeakSet = require('../internals/a-weak-set'); var add = require('../internals/weak-set-helpers').add; // `WeakSet.prototype.addAll` method // https://github.com/tc39/proposal-collection-methods $({ target: 'WeakSet', proto: true, real: true, forced: true }, { addAll: function addAll(/* ...elements */) { var set = aWeakSet(this); for (var k = 0, len = arguments.length; k < len; k++) { add(set, arguments[k]); } return set; } });
Version data entries
4 entries across 4 versions & 1 rubygems