3 ms·
I used to always use .forEach but now I use “of” as much as possible.
by earthboundkid 3y ago
I used to always use .forEach but now I use “of” as much as possible.
- yakshaving_jgt 3y agoMap, 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?