---
title: "Discussion on \"Nullish Coalescing(??) vs OR (||)\" | Hashnode"
description: "Discussion on \"Nullish Coalescing(??) vs OR (||)\". To get more clarity on how nullish coalescing (??) works, it would be wiser to compare it with the OR operator (||) and understand.\nBefore we head towards the blog's main topic, I want to brief you about Falsy values in javascript.\nFalsy & Truthy val..."
url: "https://hashnode.com/posts/nullish-coalescing-vs-or/63f0b7591314e920d650b006"
---

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

Discussion

# [Nullish Coalescing(??) vs OR (||)](https://beginnerabhay.hashnode.dev/nullish-coalescing-vs-or?utm_source=hashnode&utm_medium=feed)

To get more clarity on how nullish coalescing (??) works, it would be wiser to compare it with the OR operator (||) and understand. Before we head towards the blog's main topic, I want to brief you about Falsy values in javascript. Falsy & Truthy val...

Feb 18, 2023 · 10 min read · beginnerabhay.hashnode.dev  
Read the article

-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nullish-coalescing](https://hashnode.com/tag/nullish-coalescing)
-   [#or-opertaor](https://hashnode.com/tag/or-opertaor)
-   [#falsy-values](https://hashnode.com/tag/falsy-values)

## Written by

[Abhay Gupta](https://hashnode.com/@Abhay957)

@Abhay957

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

## Responses

Markdown supported · ⌘↵ to post

[Vineet Jadav](https://hashnode.com/@data1science1)

[Mar 7, 2024](https://hashnode.com/posts/nullish-coalescing-vs-or/63f0b7591314e920d650b006/comment/65e98dec4c6bc14bc9f92f62)

Enrolling in BIA's data science course was the best decision I made for my career. The skills I gained here have opened up numerous opportunities for me! [bostoninstituteofanalytics.org/data-science-and-a…](https://bostoninstituteofanalytics.org/data-science-and-artificial-intelligence/)
