7/11, Unexpected end of ouput


#1

var theforloop = function(){
for ( var i = 1; i < 8; i++){
console.log("This is the for loop");
}

var count = 0;
console.log("Starting Loop");
do {
console.log("Loop No.: " + count);
count++;
} while ( count < 5);
console.log("Loop Finished");


#2

@ajaxjumper52610,

var theforloop = function(){
 for ( var i = 1; i < 8; i++){
 console.log("This is the for loop");
 }

var count = 0;
 console.log("Starting Loop");
 do {
 console.log("Loop No.: " + count);
 count++;
 } while ( count < 5);
 console.log("Loop Finished");
};
theforloop();

#3

Thanks very much! Such a silly mistake.