From cd6a335defadf21d28341613aedaa84aecf9e143 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 22 Dec 2021 13:36:51 +0530 Subject: [PATCH] updated errata --- errata.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ```