Y
Hacker News
new
|
ask
|
show
|
jobs
by
nullcipher
1073 days ago
I mean just search for "is forEach functional programming"
1 comments
guilherme-puida
1071 days ago
forEach is just an alternate syntax for a for..in loop, that instead of being a block it takes a closure. It's not functional, since it's only used for side-effects.
link