Course contentsShow
JavaScript
Lesson 292 of 2,7238. Type CoercionPro lesson

null and undefined in Arithmetic

Why null becomes 0 and undefined becomes NaN in numeric contexts, causing silent errors.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.