DEV Community

Discussion on: Why you can't break a forEach loop | ByteSize JS

Collapse
 
gnunesleonardo profile image
Leonardo Gomes Nunes

I always remember that forEach() loop can't be break but i never know why, until now haha. Great article, thanks!

Collapse
 
codenutt profile image
Jared

Thanks!

Collapse
 
sunny_chan2012 profile image
Sunny Chan

But why they keep all these different versions of doing the same things? That is, forEach(), every() and some().