4 ms·
Global iterator type is coming: https://github.com/tc39/proposal-iterator-helpers https://github.com/tc39/proposal-iterator-helpers But a method named `groupBy
by bakkoting 3y ago
Global iterator type is coming: https://github.com/tc39/proposal-iterator-helpers https://github.com/tc39/proposal-iterator-helpers
But a method named `groupBy` on iterators traditionally means a different thing: https://github.com/tc39/proposal-array-grouping/issues/51#issuecomment-1372786948 https://github.com/tc39/proposal-array-grouping/issues/51#is...
Global iterable type it's too late for, since there's many extant iterables in the language and on the web which don't have it in their prototype chain and can't reasonably be changed.
- deleted 3y ago[deleted]
- pharmakom 3y agoStop it please! Just add the pipleline proposal and we can use a library or define our own function.