Re:FP techniques that will help you write better JavaScript
by fulafel on Friday February 11, 2022 @03:21PM
(#30306531)
Yes, eagerness would use additional space in the case of a Python enumerate() style solution. This would be acceptable in my view and aligned with the general JS design. But an alternative is the map-indexed style solution (aka the current Array.map with a different name).
[ Parent
| on HN ]
There are no comments on this comment yet.