3 ms·
"some" !== "forEach" ;) Also, "some" still has the performance penalty of an extra function call per iteration (as I know you know based on your linked comment
by gbuk2013 9y ago
"some" !== "forEach" ;)
Also, "some" still has the performance penalty of an extra function call per iteration (as I know you know based on your linked comment) and we are talking about performance advice here.
But good point - I've never actually used "some" before, so I learn something new today - thanks :)