Okay, somebody explain to me the rationale for this ESLint rule https://github.com/github/eslint-plugin-github/blob/master/docs/rules/array-foreach.md …
-
Show this thread
-
Replying to @qntm
Is it because of the note on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach … talking about how the .forEach() loop can't be broken without an exception? (am not a full-time ES person)
1 reply 0 retweets 0 likes
Replying to @benlkeith
I doubt it because if you needed to break the loop then you can't have used `Array.prototype.forEach` in the first place
2:21 PM - 6 Mar 2018
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.