source: trip-planner-front/node_modules/core-js/modules/esnext.map.update-or-insert.js@ 6c1585f

Last change on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

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