Sha256: 6f5079ea6e5965e1e081a4aaf055b7a05ae81764f42468667765463df7641d28
Contents?: true
Size: 726 Bytes
Versions: 4
Compression:
Stored size: 726 Bytes
Contents
'use strict'; // TODO: Remove from `core-js@4` var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $group = require('../internals/array-group'); var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.groupBy` method // https://github.com/tc39/proposal-array-grouping exportTypedArrayMethod('groupBy', function groupBy(callbackfn /* , thisArg */) { var thisArg = arguments.length > 1 ? arguments[1] : undefined; return $group(aTypedArray(this), callbackfn, thisArg, typedArraySpeciesConstructor); }, true);
Version data entries
4 entries across 4 versions & 1 rubygems