Re:FP techniques that will help you write better JavaScript
by bryanrasmussen on Saturday February 12, 2022 @01:33AM
(#30310481)
>JS also doesn't have take_until.
I just assumed it was a new method coming out soon! Although when I was thinking of how I would make a method I just thought an until method that iterated all elements of an array outputting them until it got the return from the callback that was passed as the iteration stopper - default value null.
I just assumed it was a new method coming out soon! Although when I was thinking of how I would make a method I just thought an until method that iterated all elements of an array outputting them until it got the return from the callback that was passed as the iteration stopper - default value null.