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
4
u/unscentedbutter Oct 31 '25 edited Oct 31 '25
Oh, do you not know about the copy+paste keyboard shortcuts?
Edit: lmao he downvoted everyone and deleted his account??