1 Introduction to While loops



Save & Submit crashes the page

 var understand = true;

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


You are not evaluating whether understand is true, (==), but trying to assign understand to true. :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.