first commit
This commit is contained in:
commit
eb2f504652
32490 changed files with 5731109 additions and 0 deletions
10
node_modules/core-js/modules/esnext.map.update-or-insert.js
generated
vendored
Normal file
10
node_modules/core-js/modules/esnext.map.update-or-insert.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
'use strict';
|
||||
// TODO: remove from `core-js@4`
|
||||
var $ = require('../internals/export');
|
||||
var upsert = require('../internals/map-upsert');
|
||||
|
||||
// `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.emplace`)
|
||||
// https://github.com/thumbsupep/proposal-upsert
|
||||
$({ target: 'Map', proto: true, real: true, name: 'upsert', forced: true }, {
|
||||
updateOrInsert: upsert
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue