Object.groupBy()

Term side of the Card
Topic: Object
Unit title: Object.groupBy()
Categories: Method
Explanation side of the Card

Explanation: The static method that groups the elements of an array into an object based on the result of a function applied to each element. This method is handy for organizing data into categories.

Browser compatibility:
  • The chrome browser supports this feature starting from version 117
  • The edge browser supports this feature starting from version 117
  • The firefox browser supports this feature starting from version 119
  • The safari browser supports this feature starting from version 17.4
Availability: