Chooce video playback speed
speed:1

Provide Default Values with Optional Chaining and Null Coalescing in JavaScript

InstructorShruti Kapoor

Share this video with your friends

Send Tweet

JavaScript's optional chaining can be used to return prevent errors when accessing properties that do not exist. In order to return a useful value, we can combine optional chaining with null coalescing.

This lesson is a Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.