---
title: "Discussion on \"Null Coalescing Operator vs Logical OR Operator in Javascript\" | Hashnode"
description: "Discussion on \"Null Coalescing Operator vs Logical OR Operator in Javascript\". This article discusses the subtle difference between the null coalescing and logic OR operators in Javascript"
url: "https://hashnode.com/posts/null-coalescing-operator-vs-logical-or-operator-in-javascript/61349d5c92d0321a99993e8e"
---

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

Discussion

# [Null Coalescing Operator vs Logical OR Operator in Javascript](https://preetiroshan.hashnode.dev/null-coalescing-operator-vs-logical-or-operator-in-javascript?utm_source=hashnode&utm_medium=feed)

This article discusses the subtle difference between the null coalescing and logic OR operators in Javascript

Sep 5, 2021 · 2 min read · preetiroshan.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#js](https://hashnode.com/tag/js)

## Written by

[Preeti Roshan](https://hashnode.com/@preetiroshan)

@preetiroshan

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

Software Developer at Paytm

Talks about Javascript and ReactJs

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
