News for hackers. Stuff that matters.
Re:FP techniques that will help you write better JavaScript by bryanrasmussen on Friday February 11, 2022 @05:11PM (#30307629)
huh, that's actually interesting and horrifying I guess, I knew the third argument of map was the original array but I had never seen a usage of it - I guess mutating an array while working on it goes against instinct for just about everyone.

so I guess I was wrong, you can get the same functionality of break in map, albeit in a way that, right at this moment, makes me uneasy.

There are no comments on this comment yet.