Skip to content

Commit

Permalink
[conditionals] clarify conditionals. fixes airbnb#336
Browse files Browse the repository at this point in the history
  • Loading branch information
hshoff committed May 7, 2015
1 parent df5029b commit 36ddb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@
## Comparison Operators & Equality
- Use `===` and `!==` over `==` and `!=`.
- Comparison operators are evaluated using coercion with the `ToBoolean` method and always follow these simple rules:
- Comparison operators are evaluated in conditional statements using coercion with the `ToBoolean` method and always follow these simple rules:
+ **Objects** evaluate to **true**
+ **Undefined** evaluates to **false**
Expand Down

0 comments on commit 36ddb36

Please sign in to comment.