Update errata.md

This commit is contained in:
Karan
2022-07-26 10:11:18 +05:30
committed by GitHub
parent 236041ab53
commit 24b0dfc8d6
+2 -2
View File
@@ -27,13 +27,13 @@ if(hobby = "coding"){
Solution for [Exercise 14.4](https://github.com/PacktPublishing/JavaScript-from-Beginner-to-Professional/blob/main/Chapter%2014/Exercise_14.4.html) is now fixed. Solution for [Exercise 14.4](https://github.com/PacktPublishing/JavaScript-from-Beginner-to-Professional/blob/main/Chapter%2014/Exercise_14.4.html) is now fixed.
## Chapter 05, Page 89 - Added the missing console.log statement to match the below given output ## Chapter 05, Page 89 - Added the missing `console.log` statement to match the output
``` ```
while (notFound && someArray.length > 0) { while (notFound && someArray.length > 0) {
if (someArray[0] === "Louiza") { if (someArray[0] === "Louiza") {
console.log("Found her!"); console.log("Found her!");
notFound = false; notFound = false;
console.log("false"); `console.log("false");`
} else { } else {
someArray.shift(); someArray.shift();
} }