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


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();

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


Don't worry Guys, Sorted this now!


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