Lesson 10 Need help


#1

Need help, i dont know what i'm doing wrong >.<



SyntaxError: Unexpected token


var x = false;

var getToDaChoppa = function(){
  // Write your do/while loop here!
  do {
      console.log("why isn't this workin");
} while (x)

getToDaChoppa();


#2

you forgot to close the function


#3

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