esnext.weak-map.emplace.js 276 B

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