main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
346 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | 'use strict';
|
---|
| 2 | // TODO: remove from `core-js@4`
|
---|
| 3 | var $ = require('../internals/export');
|
---|
| 4 | var upsert = require('../internals/map-upsert');
|
---|
| 5 |
|
---|
| 6 | // `WeakMap.prototype.upsert` method (replaced by `WeakMap.prototype.emplace`)
|
---|
| 7 | // https://github.com/tc39/proposal-upsert
|
---|
| 8 | $({ target: 'WeakMap', proto: true, real: true, forced: true }, {
|
---|
| 9 | upsert: upsert
|
---|
| 10 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.