Closed Heniker closed 6 months ago
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/groupBy
One thing to note - MDN says Safari uses a different function - Array.prototype.groupToMap. Not sure if it is worth mentioning.
Array.prototype.groupToMap
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/groupBy
One thing to note - MDN says Safari uses a different function -
Array.prototype.groupToMap
. Not sure if it is worth mentioning.