Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
398 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
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');
|
---|
6 |
|
---|
7 | // `WeakMap.prototype.upsert` method (replaced by `WeakMap.prototype.emplace`)
|
---|
8 | // https://github.com/tc39/proposal-upsert
|
---|
9 | $({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, {
|
---|
10 | upsert: $upsert
|
---|
11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.