source: imaps-frontend/node_modules/core-js/modules/esnext.array.group-by-to-map.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 662 bytes
Line 
1'use strict';
2// TODO: Remove from `core-js@4`
3var $ = require('../internals/export');
4var arrayMethodIsStrict = require('../internals/array-method-is-strict');
5var addToUnscopables = require('../internals/add-to-unscopables');
6var $groupToMap = require('../internals/array-group-to-map');
7var IS_PURE = require('../internals/is-pure');
8
9// `Array.prototype.groupByToMap` method
10// https://github.com/tc39/proposal-array-grouping
11// https://bugs.webkit.org/show_bug.cgi?id=236541
12$({ target: 'Array', proto: true, name: 'groupToMap', forced: IS_PURE || !arrayMethodIsStrict('groupByToMap') }, {
13 groupByToMap: $groupToMap
14});
15
16addToUnscopables('groupByToMap');
Note: See TracBrowser for help on using the repository browser.