DEV Community

Discussion on: JavaScript ?? operator

Collapse
 
zwacky profile image
Simon Wicki

Great post, Lorenzo.

I must admit it took me a while to consider undefined is part of the term nullish.

like in:

  • truthy -> true, 1, "abc"
  • falsy -> false, 0, "", undefined, null
  • nullish -> null, undefined