Whats wrong with my code? 10/11


#1

var getToDaChoppa = function(); {
// Write your do/while loop here!
do {
console.log("Aku bisa program" + getToDaChoppa + "Ya kannn?")
};
while (getToDaChoopa = false);
};
getToDaChoppa();

The string sentence is in my own Bahasa Indonesia language. I hope it does not matter :smiley:
Please fix my code above, whats wrong about that? Thank you


#2

Have a look at the syntax
the while-loop:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/while

the do-while-loop:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/do...while