Britec Tech Support Forum

Full Version: Syntax Error: missing ) after condition
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
so when  ever i run this line of code i get an error

var getToDaChoppa = function() {
   var arnie = 1
   do {
       console.log("I am programmed to protect John Connor");
   } while(arnie<2; arnie++);
}

getToDaChoppa();

i get the syntax error - SyntaxError: missing ) after condition

kind of a newb when it comes to programming
(08-15-2016, 04:36 PM)Britec Wrote: [ -> ]Try this site:
Syntax Error: missing ) after condition

Lol that is literally the website which I am learning JavaScript from. But your link helped me, I couldn't find anything.
Problem Solved  - Thread Closed