Successfully added
JavaScript
by Patrik
Break Out of a JavaScript Loop
JavaScript's forEach() function executes a function on every element in an array. However, since forEach() is a function rather than a loop, using the break statement is a syntax error.
Referenced in:
Comments