Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I used to always use .forEach but now I use “of” as much as possible.


Map, reduce, and forEach are each for quite different things. When you say you always used to use forEach, are you saying that you used it for pure computations? Or is near enough everything you write effectful?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: