updated errata

This commit is contained in:
Karan
2021-12-22 13:36:51 +05:30
committed by GitHub
parent 71167a0810
commit cd6a335def
+1 -1
View File
@@ -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:
``` ```