---
title: "Discussion on \"Nullish coalescing and optional chaining in JavaScript\" | Hashnode"
description: "Discussion on \"Nullish coalescing and optional chaining in JavaScript\". Nullish coalescing operator\nThe nullish coalescing operator (??) is a logical operator that returns the right-side operand when the operand on its left-side either evaluates to null or undefined.\nUnlike to logical OR operator (||) which returns the r..."
url: "https://hashnode.com/posts/nullish-coalescing-and-optional-chaining-in-javascript/63af0e082381e73bbf93c9c4"
---

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

Discussion

# [Nullish coalescing and optional chaining in JavaScript](https://blog.timfon.dev/nullish-coalescing-and-optional-chaining-in-javascript?utm_source=hashnode&utm_medium=feed)

Nullish coalescing operator The nullish coalescing operator (??) is a logical operator that returns the right-side operand when the operand on its left-side either evaluates to null or undefined. Unlike to logical OR operator (||) which returns the r...

Jan 23, 2020 · 3 min read · blog.timfon.dev  
Read the article

## Written by

[Edmund Ekott](https://hashnode.com/@Edmund1645)

@Edmund1645

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

Software Developer

Frontend Engineer who loves building tools.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
