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.array.group-to-map.js 439B

12345678910111213
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var addToUnscopables = require('../internals/add-to-unscopables');
  4. var $groupToMap = require('../internals/array-group-to-map');
  5. var IS_PURE = require('../internals/is-pure');
  6. // `Array.prototype.groupToMap` method
  7. // https://github.com/tc39/proposal-array-grouping
  8. $({ target: 'Array', proto: true, forced: IS_PURE }, {
  9. groupToMap: $groupToMap
  10. });
  11. addToUnscopables('groupToMap');