Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added 0 to values that evaluate to false
  • Loading branch information
ifligus committed Mar 4, 2013
commit bef4dd312918436010e09b457b954afa34cdfd4d
1 change: 1 addition & 0 deletions page/javascript-101/conditional-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down