debian-mirror-gitlab/core-js/modules/esnext.map.upsert.js

11 lines
321 B
JavaScript
Raw Normal View History

2019-10-31 01:37:42 +05:30
'use strict';
var $ = require('../internals/export');
var IS_PURE = require('../internals/is-pure');
var $upsert = require('../internals/map-upsert');
// `Map.prototype.upsert` method
// https://github.com/thumbsupep/proposal-upsert
$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
upsert: $upsert
});