2 var anObject = require('../internals/an-object');
3 var aFunction = require('../internals/a-function');
5 // https://github.com/tc39/collection-methods
6 module.exports = function (/* ...elements */) {
7 var collection = anObject(this);
8 var remover = aFunction(collection['delete']);
11 for (var k = 0, len = arguments.length; k < len; k++) {
12 wasDeleted = remover.call(collection, arguments[k]);
13 allDeleted = allDeleted && wasDeleted;