DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 968,547 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in

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
 
zahrakhadijha profile image
Zahra Khan Author

WHOOPS lol yes! I fixed it!