08-15-2016, 07:15 AM
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
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