diff --git a/errata.md b/errata.md index 48452fb..d705f04 100644 --- a/errata.md +++ b/errata.md @@ -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 -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: ```