Profile
Achievement
Waltem's Recent SnippetsTagged array
- All /
« Prev 1 Next »
Array.prototype.forEach
You can't break forEach. So use "some" or "every".
Array.prototype.some
some is pretty much the same as forEach but it break when the callback returns true.
Array.prototype.every
every is almost identical to some except i...
0
1088
posted 9 years ago by Waltem