You Simply Cannot Do These Things in a forEach Loop in JavaScript
Cover Photo by Marc Schulte on Unsplash
If you think you know how a forEach loop works, you might be wrong. Here are four things you simply cannot do in a forEach loop.
"return" Statement Simply Doesn't Stop the Loop
If you think the below code on...
mahdhir.hashnode.dev3 min read