aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/modules/esnext.weak-map.delete-all.js
blob: ef56f99c883f293329f3f26b3763226dc7089202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'use strict';
var $ = require('../internals/export');
var IS_PURE = require('../internals/is-pure');
var collectionDeleteAll = require('../internals/collection-delete-all');

// `WeakMap.prototype.deleteAll` method
// https://github.com/tc39/proposal-collection-methods
$({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, {
  deleteAll: function deleteAll(/* ...elements */) {
    return collectionDeleteAll.apply(this, arguments);
  }
});