4 ms·
You're correct it doesn't have type support which would make it vastly more useful. I honestly wasn't aware `forEach` returned anything when I wrote the example
by jimfleming 12y ago
You're correct it doesn't have type support which would make it vastly more useful. I honestly wasn't aware `forEach` returned anything when I wrote the example. The other example finding component dependencies is a little more realistic.
- jkrems 12y agoAlso native `forEach` tends to be slower and not fully supported in all environments, so that rule seems to be pretty dangerous in general.