> also had better performance because you had access to the `break`, `continue` and `return` keywords.
This is a great point.One more: Debugging `.map()` is also much harder than a for loop.
> also had better performance because you had access to the `break`, `continue` and `return` keywords.
This is a great point.One more: Debugging `.map()` is also much harder than a for loop.
Should be a judgment call, and the author needs to be used to doing both looping and mapping constructs, so that they are unafraid of the bit of extra typing needed for the loop.