github-pages-deploy-action/node_modules/core-js-pure/modules/esnext.map.update-or-insert.js

12 lines
407 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
'use strict';
// TODO: remove from `core-js@4`
var $ = require('../internals/export');
var IS_PURE = require('../internals/is-pure');
var $upsert = require('../internals/map-upsert');
// `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.upsert`)
// https://github.com/thumbsupep/proposal-upsert
$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
updateOrInsert: $upsert
});