DEV Community

Discussion on: The Difference Between Null and Undefined in JavaScript

Collapse
 
alphakappa44 profile image
LeSmallPrincipito

I think you have a small bug there:

"undefined === undefined;
// falsey"

Where it should be:

"null === undefined;
// falsey"

Shouldn't it? I liked the explanation though 😃.

Collapse
 
za-h-ra profile image
Zahra Khan

WHOOPS lol yes! I fixed it!