Stuck! Lesson 10: To learn it, you gotta 'do' it


#1


var hotWings = true;

var getToDaChoppa = function(){
  // Write your do/while loop here!
  do {
      console.log("You can have Some!");
  } while(hotWings) 
  hotWings = false

};

Everytime I run it, it crashes!

Replace this line with your code.


#2

First off, loved the watch_dogs games.

Second, the conditions and alterations go inside the 'do' bracket of code, so it would be more like


#3

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