---
title: "Discussion on \"Nullish coalescing operator\" | Hashnode"
description: "Discussion on \"Nullish coalescing operator\". Introduction\nNullish coalescing operator (??) was introduced in the ECMAScript 2020 specification, which can be used to replace the logical OR operator for setting the default values.\nSyntax:\nleft Operand ?? right Operand\nThe left operand is first ch..."
url: "https://hashnode.com/posts/nullish-coalescing-operator/63f5a21f217bf2884818a4d3"
---

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

Discussion

# [Nullish coalescing operator](https://vivek18.hashnode.dev/nullish-coalescing-operator?utm_source=hashnode&utm_medium=feed)

Introduction Nullish coalescing operator (??) was introduced in the ECMAScript 2020 specification, which can be used to replace the logical OR operator for setting the default values. Syntax: left Operand ?? right Operand The left operand is first ch...

Feb 22, 2023 · 2 min read · vivek18.hashnode.dev  
Read the article

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

## Written by

[Vivek Shirsath](https://hashnode.com/@vivek18)

@vivek18

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
