---
title: "Discussion on \"JavaScript Quick Tip: The Nullish Coalescing Operator\" | Hashnode"
description: "Discussion on \"JavaScript Quick Tip: The Nullish Coalescing Operator\". How to more effectively filter out null and undefined"
url: "https://hashnode.com/posts/javascript-quick-tip-the-nullish-coalescing-operator/60ba301182d26410fbbf7ef5"
---

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

Discussion

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

How to more effectively filter out null and undefined

Jun 4, 2021 · 2 min read · deepdive.hashnode.dev  
Updated Nov 3, 2022  
Read the article

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

## 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 3

Markdown supported · ⌘↵ to post

[Adarsh Thakur](https://hashnode.com/@adarsh-thakur)

[Jun 19, 2021](https://hashnode.com/posts/javascript-quick-tip-the-nullish-coalescing-operator/60ba301182d26410fbbf7ef5/comment/60ce2dae37952431a17129f1)

Little thing, can you save many unwanted checks. Thanks for sharing.

[Hanu](https://hashnode.com/@hanu)

[Jun 5, 2021](https://hashnode.com/posts/javascript-quick-tip-the-nullish-coalescing-operator/60ba301182d26410fbbf7ef5/comment/60bbb8c2e36d51141c95b686)

Good one Oliver

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

[Jun 4, 2021](https://hashnode.com/posts/javascript-quick-tip-the-nullish-coalescing-operator/60ba301182d26410fbbf7ef5/comment/60ba36404f018f10d623507d)

This is one of those things where I know there's a difference between them but always forget exactly what it is 😄. I don't think I'll forget it again after reading this. Thanks [Oliver Jumpertz](https://hashnode.com/@OliverJumpertz)

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

[Jun 4, 2021](https://hashnode.com/posts/javascript-quick-tip-the-nullish-coalescing-operator/60ba301182d26410fbbf7ef5/comment/60ba36404f018f10d623507d#reply-60ba4d31b7e1bd13de518361)

Awesome Kieran, thank you for these kind words! 💛🙏🏻
