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.

map-helpers.js 426B

123456789101112131415
  1. 'use strict';
  2. var uncurryThis = require('../internals/function-uncurry-this');
  3. // eslint-disable-next-line es/no-map -- safe
  4. var MapPrototype = Map.prototype;
  5. module.exports = {
  6. // eslint-disable-next-line es/no-map -- safe
  7. Map: Map,
  8. set: uncurryThis(MapPrototype.set),
  9. get: uncurryThis(MapPrototype.get),
  10. has: uncurryThis(MapPrototype.has),
  11. remove: uncurryThis(MapPrototype['delete']),
  12. proto: MapPrototype
  13. };