---
title: "Discussion on \"if and if else in JavaScript how to work?\" | Hashnode"
description: "Discussion on \"if and if else in JavaScript how to work?\". Conditional Statements: Very often when you write code, you want to perform different actions for different decisions. You can use conditional statements"
url: "https://hashnode.com/posts/if-else-javascript-how-work/62dddf88b12ca5754f6a7d63"
---

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

Discussion

# [if and if else in JavaScript how to work?](https://seyedahmaddv.hashnode.dev/if-else-javascript-how-work?utm_source=hashnode&utm_medium=feed)

Conditional Statements: Very often when you write code, you want to perform different actions for different decisions. You can use conditional statements

Jul 25, 2022 · 2 min read · seyedahmaddv.hashnode.dev  
Read the article

-   [#if-else](https://hashnode.com/tag/if-else)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#finding-job](https://hashnode.com/tag/finding-job)

## Written by

[Seyed Ahmad](https://hashnode.com/@Seyedahmaddv)

@Seyedahmaddv · Canada, Toronto

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

Learn & Do More to Better World

React js developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
