A bit of everything & a lot of nothing developer
Markdown supported · ⌘↵ to post
I usually avoid forEach in JavaScript because it at times behaves weirdly.
I prefer map, filter and reduce methods, or the plain classic or the while sometimes. 😅
Marcelo Zárate
Diego Baratta
Hahaha I'm flattered to be such inspiration to you with this article. It's dumb of me to program all this years without even knowing the foreach's existance... But now with this I know a little more. Txs and keep the good teaching ^^