|
|
|
|
|
by jacobolus
754 days ago
|
|
You can implement quite a lot of Python's itertools in Javascript without too much trouble. For instance, https://observablehq.com/@jrus/itertools Disclaimer: this code was written several years ago with few downstream users, not all of these are super high performing, and they have not been super extensively tested. |
|
Here is an update that should be much easier to convert to JS: