group

Deprecated: Use the native "Object.groupBy()" function instead.

Creates an object with grouped items in the array.

Example