Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

esnext.map.upsert.js 340B

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