Skip to content

Commit 4295803

Browse files
committed
[conditionals] use if statement
1 parent 36ddb36 commit 4295803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@
10591059
## Comparison Operators & Equality
10601060
10611061
- Use `===` and `!==` over `==` and `!=`.
1062-
- Comparison operators are evaluated in conditional statements using coercion with the `ToBoolean` method and always follow these simple rules:
1062+
- Comparison operators are evaluated in `if` statements using coercion with the `ToBoolean` method and always follow these simple rules:
10631063
10641064
+ **Objects** evaluate to **true**
10651065
+ **Undefined** evaluates to **false**

0 commit comments

Comments
 (0)