TypeScript: Undefined vs null - Stop using null (even in JavaScript)
You barely need to use null in TypeScript. Instead, use solely undefined. In this episode on the series to learn about TypeScript I will explain a couple of reasons. 📖Chapters 0:00 Introduction 0:40 Undefined better than null 1:00 TypeScript Optional Parameter 1:45 TypeScript Triple Equals 3:05 Null and undefined typeof 3:30 TypeScript Desctruction Difference with null and undefined 4:30 State Tracking Alternative 6:15 Conclusion 📝Source Code https://github.com/MrDesjardins/010-T... 💬Social Networks ► Follow me on Twitter:   / mrdesjardins  ► Follow me on LinkedIn:   / patrickdesjardins  ► My blog: http://patrickdesjardins.com/blog 📚My Books & Courses ► My TypeScript Book: https://typescriptbook.com/ ► My TypeScript Course: https://www.educative.io/courses/lear...

Why you should consider using mostly only const and not let in TypeScript

TypeScript - Strict Null Checks

You are a Junior Dev if You Don’t Know These 18 TypeScript Utility Types

null vs. undefined in JavaScript / TypeScript

It finally happened

Typescript. Runtime. And in Between. - Ariel Shulman - NDC Copenhagen 2025

Do Google engineers actually vibe code?

Strict TypeScript Isn't Enough Anymore

Learn TypeScript in 50 Minutes - TypeScript Beginner Crash Course

Null vs Undefined - Beau teaches JavaScript

Big projects are ditching TypeScript… why?

any vs unknown vs never: TypeScript demystified

JavaScript Null & Undefined – Explained Like Never Before

Microsoft Teams Is Watching You | Here's What They See

One Formula That Demystifies 3D Graphics

Learn TypeScript Generics In 13 Minutes
![JavaScript nullish operators - coalescing and optional chaining // ?? ?.[]()](https://i.ytimg.com/vi/i6CsAoSnalQ/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDBMQkxfHaUnk18gfRIwppVSJrOkg)
JavaScript nullish operators - coalescing and optional chaining // ?? ?.[]()

Any, unknown, never, and void in TypeScript

Null vs Undefined - which one should you use in JS?
