core-js
Version:
Standard library
13 lines (11 loc) • 415 B
JavaScript
;
var collectionDeleteAll = require('../internals/collection-delete-all');
// `Map.prototype.deleteAll` method
// https://github.com/tc39/proposal-collection-methods
require('../internals/export')({
target: 'Map', proto: true, real: true, forced: require('../internals/is-pure')
}, {
deleteAll: function deleteAll(/* ...elements */) {
return collectionDeleteAll.apply(this, arguments);
}
});