im relatively new javascript , such trying understand writing.
i while loop eg:
var = 0; while (i < 10) {  console.log('i less 10');  i++; }   but dont understand when use
while(false) { document.write('do this'); } document.write('do that');   the "false" value confuses me because don't understand checking against
it never run. false never true, in while(false) {...} not executed.
you not use in practice. disables block of code.
you asked "checking against." it's checking see if false evaluates true. doesn't, doesn't run in while block.
Comments
Post a Comment