by shawnz · 4y ago · 0 comments
Property keys can also be symbol objects and it seems like that's supported by the groupBy function in addition to strings, see: https://tc39.es/proposal-array-grouping/
Edit: this has already been discussed https://github.com/tc39/proposal-array-grouping/issues/3