Im relatively new to Javascript and as such trying to understand what it is I am writing.
I get the while loop eg:
var i = 0;
while (i < 10) {
console.log('i is less than 10');
i++;
}
but what i dont understand is when do you use
while(false) {
document.write('do this');
}
document.write('do that');
the "false" value confuses me because i don't understand what i am checking against
false. Thefalseliteral (obviously?) evaluates tofalse.