Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added 0 to the list of falsy values in JavaScript 101 Conditional Cod…

…e article. Fixes #300. Fixes #271
  • Loading branch information...
commit 84ee4cf907ae009a72bc501554973a4ffb429d65 1 parent 105a3ab
@ifligus ifligus authored ajpiano committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  page/javascript-101/conditional-code.md
View
1  page/javascript-101/conditional-code.md
@@ -59,6 +59,7 @@ In order to use flow control successfully, it's important to understand which ki
NaN; // JavaScript's "not-a-number" variable
null;
undefined; // be careful -- undefined can be redefined!
+0; // the number zero
```
## Conditional Variable Assignment with the Ternary Operator
Please sign in to comment.
Something went wrong with that request. Please try again.