---
title: "Discussion on \"Control Flow in JavaScript: If, Else, and Switch\" | Hashnode"
description: "Discussion on \"Control Flow in JavaScript: If, Else, and Switch\". what do u understand by control flow - basically the order in which code runs , by default JS run code line by line , we want control on these thing . you dont need to gave that much time on this topi"
url: "https://hashnode.com/posts/control-flow-in-javascript-if-else-and-switch/69b5aab7210c74252f1c6941"
---

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

Discussion

# [Control Flow in JavaScript: If, Else, and Switch](https://dushyantxcode.hashnode.dev/control-flow-in-javascript-if-else-and-switch?utm_source=hashnode&utm_medium=feed)

what do u understand by control flow - basically the order in which code runs , by default JS run code line by line , we want control on these thing . you dont need to gave that much time on this topi

Mar 14 · 4 min read · dushyantxcode.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#controlflow](https://hashnode.com/tag/controlflow)
-   [#js](https://hashnode.com/tag/js)
-   [#blogging](https://hashnode.com/tag/blogging)
-   [#hiteshchaudhary](https://hashnode.com/tag/hiteshchaudhary)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[Dushyant Pratap Singh](https://hashnode.com/@dushyantxcode)

@dushyantxcode

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

Documenting My Journey From Beginner to Job Ready Web Developer

CS student focused on backend &amp; OS fundamentals. Building real projects and sharing practical learning.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
