DEV Community

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

Collapse
 
mdqayyumshareef profile image
Qayyum Shareef

I think we can use 'return' to exit for each loop.