---
title: "Discussion on \"JavaScript Explained: The Nullish Coalescing Operator (??)\" | Hashnode"
description: "Discussion on \"JavaScript Explained: The Nullish Coalescing Operator (??)\". Learn what the nullish coalescing operator is, what it does, and why you should probably use it way more often than the logical OR (||)."
url: "https://hashnode.com/posts/javascript-explained-the-nullish-coalescing-operator/61d09f377cb96c3f922617a3"
---

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

Discussion

# [JavaScript Explained: The Nullish Coalescing Operator (??)](https://deepdive.hashnode.dev/javascript-explained-the-nullish-coalescing-operator?utm_source=hashnode&utm_medium=feed)

Learn what the nullish coalescing operator is, what it does, and why you should probably use it way more often than the logical OR (||).

Jan 1, 2022 · 3 min read · deepdive.hashnode.dev  
Updated Nov 3, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Oliver Jumpertz](https://hashnode.com/@OliverJumpertz)

@OliverJumpertz · Germany

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

Educated Software Engineer

I'm just a guy breathing and living software engineering and technology. Want to join me on my journey?

## Responses 1

Markdown supported · ⌘↵ to post

[Marko Denic](https://hashnode.com/@denic)

[Sep 26, 2022](https://hashnode.com/posts/javascript-explained-the-nullish-coalescing-operator/61d09f377cb96c3f922617a3/comment/63319ade4dd8b2344a769295)

NIce article as always! Looking forward to your next questions at [JavaScript Quiz](https://javascriptquiz.com/). :)

[Oliver Jumpertz](https://hashnode.com/@OliverJumpertz)

[Sep 28, 2022](https://hashnode.com/posts/javascript-explained-the-nullish-coalescing-operator/61d09f377cb96c3f922617a3/comment/63319ade4dd8b2344a769295#reply-6333f1ade594fa4ba3b89d7f)

Thanks a lot, Mrko! ☺️
