Master Optional Chaining

Опубликовано: 16 Март 2026
на канале: Nicos Tsourektsidis
355
37

Optional chaining is one of the most favorited JavaScript features. It allows you to reduce so much code and at the same time it makes your code more readable. Join me in this episode to learn how it works. I also have a surprise for you at the end of the video.

Read the blog post:
https://nicotsou.com/tltr-typescript-...

Contents
00:00 Intro
02:51 Optional properties
08:58 Dynamic members
12:27 Accessing array values by index
14:08 Calling functions/methods
15:19 A surprise
16:26 Outro

Links
My new ✨TypeScript course:
https://tltr-typescript.com
The playlist with all the videos in the series:
   • TLTR; TypeScript  
Fun with TypeScript Unions:
   • Fun with Unions in TypeScript  

This video belongs to my series Too Long To Read TypeScript. Every episode covers in detail a core concept of the language.

❤️ How to support this channel?
Like this video
Subscribe to the channel
Share this video with your friends on social media (only if it helped you)
Check out my course