Error message in do/while loop


I'm on number 10 of the introduction to while loops in JS and I'm having trouble constructing this do/while loop. Can someone please show me what I'm doing wrong.

var bool = 1;
var getToDaChoppa = function(){
  // Write your do/while loop here!
  do {
      console.log ("This doesn't seem so bad");
  while (bool === 1) {
  console.log ("done");



Seems like your problem is similar to the one I described here:


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