Update ch5_while.js
This commit is contained in:
parent
504e91d4cc
commit
59ee1aa6f8
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user