---
title: "Discussion on \"Comparison of values in JavaScript\" | Hashnode"
description: "Discussion on \"Comparison of values in JavaScript\". In JavaScript, there are multiple ways to write conditionals. The first way most new developers get introduced to and get comfortable with is the “if statement”, “else statement” and the “else if” statement.\nHi 👋 and welcome to the second part of th..."
url: "https://hashnode.com/posts/comparison-of-values-in-javascript/62d4031ebc2c7a1dc6727d3f"
---

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

Discussion

# [Comparison of values in JavaScript](https://dannebrob.hashnode.dev/comparison-of-values-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, there are multiple ways to write conditionals. The first way most new developers get introduced to and get comfortable with is the “if statement”, “else statement” and the “else if” statement. Hi 👋 and welcome to the second part of th...

Jul 17, 2022 · 2 min read · dannebrob.hashnode.dev  
Updated Jul 25, 2022  
Read the article

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

## Written by

[Daniel Brobäck](https://hashnode.com/@DanneBrob)

@DanneBrob · Sweden

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

Javascript and React

I'm a Front-end Developer specialized in JavaScript and React. Sharing my notes and knowledge hoping I help this fantastic community! 🥳

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
