From ebab9a9644500dbf23ef5569298470f1b79708da Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Tue, 21 Dec 2021 17:51:05 +0530 Subject: [PATCH] Errata file updated --- errata.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errata.md b/errata.md index 4d2e213..6e527cc 100644 --- a/errata.md +++ b/errata.md @@ -2,7 +2,7 @@ ---------------------------------------------------- If you find any mistakes in the second edition of JavaScript from Beginner to Professional, or if you have suggestions for improvements, then please [raise an issue in this repository](https://github.com/PacktPublishing/JavaScript-from-Beginner-to-Professional/issues), or email to us. -## Page 8 - 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")`