2 // TODO: remove from `core-js@4`
3 var $ = require('../internals/export');
4 var IS_PURE = require('../internals/is-pure');
5 var $upsert = require('../internals/map-upsert');
7 // `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.upsert`)
8 // https://github.com/thumbsupep/proposal-upsert
9 $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
10 updateOrInsert: $upsert