3. Introduction to infinite loops


#1

Hi, not sure what I'm doing wrong here. The error message is: SyntaxError: missing ( before condition

understand = true;

while(understand === true){
console.log("I'm learning while loops!");
while = false
}


#2

Hi, it is necessary to assign understand to false and not while.


#3

Oops, how silly of me. Thanks!