---
title: "Discussion on \"How the Nullish Coalescing Operator Works in JavaScript\" | Hashnode"
description: "Discussion on \"How the Nullish Coalescing Operator Works in JavaScript\". ES11 has added a nullish coalescing operator which is denoted by double question marks, like this: ??.\nIn this article, we will explore why it's so useful and how to use it.\nLet's get started.\n\nWant to learn Redux from the absolute beginning and buil..."
url: "https://hashnode.com/posts/how-the-nullish-coalescing-operator-works-in-javascript-1/60825de3fea38e52a9c597a3"
---

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

Discussion

# [How the Nullish Coalescing Operator Works in JavaScript](https://blog.yogeshchavan.dev/how-the-nullish-coalescing-operator-works-in-javascript-1?utm_source=hashnode&utm_medium=feed)

ES11 has added a nullish coalescing operator which is denoted by double question marks, like this: ??. In this article, we will explore why it's so useful and how to use it. Let's get started. Want to learn Redux from the absolute beginning and buil...

Apr 23, 2021 · 4 min read · blog.yogeshchavan.dev  
Updated Apr 26, 2021  
Read the article

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

## Written by

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

@myogeshchavan97 · India

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

Full Stack Developer | Freelancer | JavaScript | React | Nodejs. https://yogeshchavan.dev/. Book 1:1 @ hiretheauthor.com/myogeshchavan97

Full Stack Developer | Freelancer | JavaScript | React | Nodejs. Loves sharing knowledge through technical articles. Dev.to: https://dev.to/myogeshchavan97 https://linktr.ee/myogeshchavan97

## Responses 1

Markdown supported · ⌘↵ to post

[Kieran Roberts](https://hashnode.com/@kieran6roberts)

[Apr 23, 2021](https://hashnode.com/posts/how-the-nullish-coalescing-operator-works-in-javascript-1/60825de3fea38e52a9c597a3/comment/6082e169fea38e52a9c5a848)

Nullish coalescing is something I've been doing quite a bit recently so it's nice to see a clear explanation for others to pick it up [Yogesh Chavan](https://hashnode.com/@myogeshchavan97)!

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Apr 23, 2021](https://hashnode.com/posts/how-the-nullish-coalescing-operator-works-in-javascript-1/60825de3fea38e52a9c597a3/comment/6082e169fea38e52a9c5a848#reply-6082fc3bff5fc65284a7883d)

That's great. Thank you [Kieran Roberts](https://hashnode.com/@kieran6roberts)
