While Loops in JS - To learn you got to DO it


#1

Guys, I have been fiddling with this one for a while and I cannot grasp it.
The below is as far as I've got but i do not know whether the "do" is correct and or what to put in "while"

var getToDaChoppa = function(){
do {
console.log("I am the Terminator");
} while();
}
getToDaChoppa();

for obvious reasons it return - Oops, try again. There was a problem with your syntax.


#2

Don't worry Guys, Sorted this now!


#3

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