mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
12 lines
390 B
JavaScript
12 lines
390 B
JavaScript
|
|
'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.upsert` method (replaced by `Map.prototype.emplace`)
|
||
|
|
// https://github.com/thumbsupep/proposal-upsert
|
||
|
|
$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
|
||
|
|
upsert: upsert
|
||
|
|
});
|