10. To learn it, you gotta 'do' it


#1



I'm not actually sure how to do this.

codecademy.com/courses/javascript-beginner-en-ASGIv/2/3?curriculum_id=506324b3a7dffd00020bf661#

Oops, try again. There was a problem with your syntax.


var getToDaChoppa = function(){
  // Write your do/while loop here!
    do {
        console.log("Get to da choppa!");
    };
    while();
};

getToDaChoppa();


I need help on what to do, I'm not really getting this.


#2

Never mind, figured it out myself


#3

var getToDaChoppa = function(){
// Write your do/while loop here!
getToDaChoppa = false;
do{
console.log("I love polo!");
} while(getToDaChoppa);
};

getToDaChoppa();


#4

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