DEV Community

Discussion on: Why can't you break out of the forEach loop?

Collapse
 
mayankav profile image
mayankav

@jonrandy Indeed Jon! This post doesn't cover the possible solutions for a reason. I found it easier to throw in an MDN link which covers some alternatives.