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.
14 lines
439 B
14 lines
439 B
4 weeks ago
|
'use strict';
|
||
|
var $ = require('../internals/export');
|
||
|
var addToUnscopables = require('../internals/add-to-unscopables');
|
||
|
var $groupToMap = require('../internals/array-group-to-map');
|
||
|
var IS_PURE = require('../internals/is-pure');
|
||
|
|
||
|
// `Array.prototype.groupToMap` method
|
||
|
// https://github.com/tc39/proposal-array-grouping
|
||
|
$({ target: 'Array', proto: true, forced: IS_PURE }, {
|
||
|
groupToMap: $groupToMap
|
||
|
});
|
||
|
|
||
|
addToUnscopables('groupToMap');
|