Could use `break` in loop?


I would like to use break in forEache.
But don’t work


There’s no break of execution in a forEach iteration. There are ugly hacks if you really must insist, but it is better to use a regular for loop or a for...of loop.


Thanks for your reply :smile: