source: node_modules/core-js-pure/modules/esnext.map.upsert.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

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