---
title: "Discussion on \"Control Flow in JavaScript: If, Else, and Switch\" | Hashnode"
description: "Discussion on \"Control Flow in JavaScript: If, Else, and Switch\". Introduction\nControl flow means controlling the flow of execution of the program. in simple word its determines which line execute first which executes second , like that.\nyou can understand like - yo"
url: "https://hashnode.com/posts/control-flow-in-javascript-if-else-and-switch/69b67f3005c006164cf83495"
---

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

Discussion

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

Introduction Control flow means controlling the flow of execution of the program. in simple word its determines which line execute first which executes second , like that. you can understand like - yo

Mar 15 · 2 min read · playwithjs.hashnode.dev  
Read the article

-   [#cohort2026](https://hashnode.com/tag/cohort2026)
-   [#control-flow](https://hashnode.com/tag/control-flow)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#javascript-basics](https://hashnode.com/tag/javascript-basics)

## Written by

[SAMIT MANDAL](https://hashnode.com/@Sam-in-it)

@Sam-in-it · INDIA

  
[View profile](https://hashnode.com/@Sam-in-it)

Consistency is the key

CSE Under grad. || Trying to be a better developer each day || Consistency is the key

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
