---
title: "Discussion on \"Everything you should know about JavaScript | Breaking a Loop\" | Hashnode"
description: "Discussion on \"Everything you should know about JavaScript | Breaking a Loop\". Breaking a loop in JavaScript is confusing. Few tips to write a better code to understand for loops in JavaScript."
url: "https://hashnode.com/posts/everything-you-should-know-about-javascript-or-breaking-a-loop/606145a638b0e14f092a4415"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Everything you should know about JavaScript | Breaking a Loop](https://blog.decipher.dev/everything-you-should-know-about-javascript-or-breaking-a-loop?utm_source=hashnode&utm_medium=feed)

Breaking a loop in JavaScript is confusing. Few tips to write a better code to understand for loops in JavaScript.

Mar 29, 2021 · 10 min read · blog.decipher.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Deepak Vishwakarma](https://hashnode.com/@decipher)

@decipher · Singapore

  
[View profile](https://hashnode.com/@decipher)

Programmer, Poet and Enthusiastic Tech lover

I am developer from south-east asia, Singapore. I have more than 10years of development experience. In my leisure time, I like to read and write poems. I am passionate about tech and coding.

## Responses 2

Markdown supported · ⌘↵ to post

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Mar 29, 2021](https://hashnode.com/posts/everything-you-should-know-about-javascript-or-breaking-a-loop/606145a638b0e14f092a4415/comment/6061ae095aa4944ee40fb43b)

The title is a bit confusing, but great article! Well done!

[Deepak Vishwakarma](https://hashnode.com/@decipher)

[Mar 29, 2021](https://hashnode.com/posts/everything-you-should-know-about-javascript-or-breaking-a-loop/606145a638b0e14f092a4415/comment/6061ae095aa4944ee40fb43b#reply-6061aedf38b0e14f092a4ea1)

Haha thanks. Still learning. You may suggest something. It can help me later :) 🙃

[Anurag Chatterjee](https://hashnode.com/@aceracer)

[Mar 29, 2021](https://hashnode.com/posts/everything-you-should-know-about-javascript-or-breaking-a-loop/606145a638b0e14f092a4415/comment/6061957138b0e14f092a4c32)

Very well written. Thank you for sharing Deepak!

[Deepak Vishwakarma](https://hashnode.com/@decipher)

[Mar 29, 2021](https://hashnode.com/posts/everything-you-should-know-about-javascript-or-breaking-a-loop/606145a638b0e14f092a4415/comment/6061957138b0e14f092a4c32#reply-6061a8e938b0e14f092a4de8)

Thanks Anurag. Appreciated your comment :)😊
