Re:Why ['1', '7', '11'].map(parseInt) returns [1, NaN, 3] in...
by arcticbull on Friday June 21, 2019 @12:55PM
(#20244246)
Nah, there's better solutions; you can create a window/stride method that converts a sequence into a sequence of sequences and then passes that into a map function that takes a single argument.
Both error checking and ergonomics are preserved.
[ Parent
| on HN ]
There are no comments on this comment yet.