From 59ee1aa6f85f978cbb1b6839d19e5d1cef44e5da Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Tue, 26 Jul 2022 10:07:26 +0530 Subject: [PATCH] Update ch5_while.js --- Chapter 05/Code Samples/ch5_while.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Chapter 05/Code Samples/ch5_while.js b/Chapter 05/Code Samples/ch5_while.js index c37ff76..7d3103e 100755 --- a/Chapter 05/Code Samples/ch5_while.js +++ b/Chapter 05/Code Samples/ch5_while.js @@ -11,6 +11,7 @@ while (notFound && someArray.length > 0) { if (someArray[0] === "Louiza") { console.log("Found her!"); notFound = false; + console.log("false"); } else { someArray.shift(); }