Infinite loop


#1



var soloLoop = function(){
  var  	x === 5= true;

while(x === 5 = true) {
    console.log("Looped once!");
    x = false;
}
  
};

soloLoop();


#2

Really confused as to what you're trying here :stuck_out_tongue:

Take a look at what I've got :slight_smile:

var soloLoop = function(){
  var x = true

while(x) {
    console.log("Looped once!");
    x = false;
}
  
};

soloLoop();