Reposted by Vincent Driessen
ECMAScript excitement 😉
Congrats to @michael.ficarra.me on advancing the Iterator Chunking proposal to Stage 4 at @tc39.es today 🎉
It can make iterators that chunk & window content.
[0,1,2,3].values().chunks(2); // [0,1], [2,3]
[0,1,2,3].values().windows(2); // [0,1], [1,2], [2,3]