source: imaps-frontend/node_modules/core-js/modules/esnext.map.update-or-insert.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 372 bytes
Line 
1'use strict';
2// TODO: remove from `core-js@4`
3var $ = require('../internals/export');
4var upsert = require('../internals/map-upsert');
5
6// `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.emplace`)
7// https://github.com/thumbsupep/proposal-upsert
8$({ target: 'Map', proto: true, real: true, name: 'upsert', forced: true }, {
9 updateOrInsert: upsert
10});
Note: See TracBrowser for help on using the repository browser.