Help with 8/11 please


#1

var myCondition = true;

while(myCondition) {
}
myCondition();
for (i=1; i<11; i++) {
console.log var (i);
}
};


#2

Read
the while-loop:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/while

With

while(myCondition) {
}

you have directly closed the while()-loop
without re-assigning the myCondition variable to false
and you got that what you do NOT want to encounter

an inifinit LOOP