updated errata
This commit is contained in:
@@ -4,7 +4,7 @@ If you find any mistakes in the second edition of JavaScript from Beginner to Pr
|
|||||||
|
|
||||||
## Chapter 04, Page 2 - Fixing the equals syntax in an `if` statement
|
## Chapter 04, Page 2 - Fixing the equals syntax in an `if` statement
|
||||||
|
|
||||||
The example of an `if` statement here explains how a single `=` sign is always true. It should be `if(hobby = "coding")`
|
The example of an `if` statement here explains how a single `=` sign is true. It should be `if(hobby = "coding")`
|
||||||
|
|
||||||
Incorrect code is:
|
Incorrect code is:
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user