Saturday, 9 August 2014

To learn it, you gotta 'do' it

Question 10/11

Write a do/while loop inside the function we've created for you, getToDaChoppa. The function should log a string of your choice to the console. do it now!

var getToDaChoppa = function(){
  // Write your do/while loop here!
  do{
      getToDaChoppa = false;
      console.log ("Please mention all above");
      }while(getToDaChoppa)
};

getToDaChoppa();

No comments:

Post a Comment