6a24e870919bd0f9f443698e9d4551334cf10c4840991f1c05a601d3ad389ff03c81e509045f6380339efefa6810dc1c1c982757ccfa55eb30d0380ee3d974 346 B

12345678910
  1. 'use strict';
  2. // TODO: remove from `core-js@4`
  3. var $ = require('../internals/export');
  4. var upsert = require('../internals/map-upsert');
  5. // `WeakMap.prototype.upsert` method (replaced by `WeakMap.prototype.emplace`)
  6. // https://github.com/tc39/proposal-upsert
  7. $({ target: 'WeakMap', proto: true, real: true, forced: true }, {
  8. upsert: upsert
  9. });