mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 02:08:19 -05:00
Fix typo
This commit is contained in:
@@ -1047,7 +1047,7 @@
|
||||
## Comparison Operators & Equality
|
||||
|
||||
- [15.1](#15.1) <a name='15.1'></a> Use `===` and `!==` over `==` and `!=`.
|
||||
- [15.2](#15.2) <a name='15.2'></a> Conditional statements such as the `if` statement evaulate their expression using coercion with the `ToBoolean` abstract method and always follow these simple rules:
|
||||
- [15.2](#15.2) <a name='15.2'></a> Conditional statements such as the `if` statement evaluate their expression using coercion with the `ToBoolean` abstract method and always follow these simple rules:
|
||||
|
||||
+ **Objects** evaluate to **true**
|
||||
+ **Undefined** evaluates to **false**
|
||||
|
||||
Reference in New Issue
Block a user