Update ch5_while.js

This commit is contained in:
Karan 2022-07-26 10:07:26 +05:30 committed by GitHub
parent 504e91d4cc
commit 59ee1aa6f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}