Back to Browse

How to Use Nullish Coalescing in JavaScript

9 views
Dec 11, 2021
11:50

In this video you will learn how to use the Nullish Coalescing operator (the double-question-mark operator: ??) in JavaScript. This operator can be super useful in handling "falsy" values in combination with default values, and works like a charm when used with Optional Chaining. CHAPTER TIMESTAMPS 0:00: Intro 0:09: Nullish Coalescing Explained 4:59: Nullish Coalescing with Optional Chaining 7:35: Bonus Example 10:14: Browser Support 11:15: Outro Do you have a request for a video about a particular topic, or want me to go into more detail on the topic in this video? Please leave a comment below! Thanks for watching ❤️

Download

1 formats

Video Formats

360pmp414.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Use Nullish Coalescing in JavaScript | NatokHD