UNPKG

447 BJavaScriptView Raw
1'use strict';
2var $ = require('../internals/export');
3var IS_PURE = require('../internals/is-pure');
4var collectionDeleteAll = require('../internals/collection-delete-all');
5
6// `Map.prototype.deleteAll` method
7// https://github.com/tc39/proposal-collection-methods
8$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
9 deleteAll: function deleteAll(/* ...elements */) {
10 return collectionDeleteAll.apply(this, arguments);
11 }
12});