I'd agree maybe it's that I'm used to for loops but they read easier for me and I know better what's going on.
I'd also say it's the same for the majority of JS users (at least from my experience) so when you got a bigger team the safer bet is to use for loops. Helps to make the code easier to understand for more people.
I would say that the absence of side effects is often overvalued when talking about this. Though I understand where people are coming from :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'd agree maybe it's that I'm used to for loops but they read easier for me and I know better what's going on.
I'd also say it's the same for the majority of JS users (at least from my experience) so when you got a bigger team the safer bet is to use for loops. Helps to make the code easier to understand for more people.
I would say that the absence of side effects is often overvalued when talking about this. Though I understand where people are coming from :)