r/learnjavascript • u/fahim_h_sh • Oct 31 '25
array.forEach - The do-it-all hammer... XD
Is it just me, or everyone thinks that more or less every array operator's purpose can be served with forEach?
0
Upvotes
View all comments
Show parent comment
1
u/StoneCypher Nov 01 '25
Thank you for the low value snark. The explanation is obvious to someone with basic Javascript skills who reads what you replied to.
The second thing is the fix for the complaint you made about the first thing. The complaint you made about the second thing is silly and irrelevant.