To learn it, you gotta 'do' it


I don't understand how to use do/while loop in this lesson. Could you guys help me please?


Have you had a go at it? If so can you please copy and paste your code?


var getToDaChoppa = function() {
do {
console.log("Ya Gotta");
getToDaChoppa = false;


Now I get stuck here. Could you help me? It's an infinite loop


You should try something like this.

while(getToDaChoppa === true)


thank you so much!! I did it


didn't they previously teach that leaving out " === true" and just putting the variable in parentheses is the same thing? why should that change the result?


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