Update ch5_while.js
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user