11/11 no prints


#1

var jb = function(){
for (var i = 1; i < 10; i++){
console.log(i);

};
var z = true;
while(z){
    console.log("while");
    z = false;
};
var b = 4;
do{
    console.log("do while");
}while(b <= 5);

}

not very creative but why does nothing print but i can move on?????


#2

Perhaps you'd like to call your function after having defined it?

jb();