you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 4 hours ago

The beauty of JavaScript.

You probably haven't encountered truthsy and falsy values yet?

  • source