null vs. undefined in JavaScript / TypeScript

Опубликовано: 22 Октябрь 2024
на канале: basarat
1,769
93

In this tutorial, we discuss the origin of undefined vs. null in JavaScript and how you can easily unify these concepts in your codebase so you don't have to keep juggling between null and undefined 🌹

🚥 Professional Courses
https://www.booleanart.com/

Playground used during this lesson: https://github.dev/basarat/demo-null-...

#basarat #JavaScript #Tutorial #TypeScript

👇 ❤️ Subscribe for MOORE ❤️ 👇
   / basaratali  

*Feel Free To Read This Lot*

I'm Basarat, and I love helping developers. More about me:

Microsoft MVP for TypeScript
200K contributions on Stackoverflow. Top Contributor for TypeScript.
Udemy Courses: https://www.udemy.com/user/basaratali...
Creator https://designtsx.com
Book Author : Beginning NodeJS
Book Author : TypeScript Deep Dive
Egghead Instructor : https://egghead.io/instructors/basara...
Creator of multiple hot ✨ed Github Open Source projects

Follow me on twitter:   / basarat  
Follow me on github: https://github.com/basarat
Donate: https://www.paypal.me/basaratali

Website: https://basarat.com/