See that? A do-while loop runs at least once, even if the condition is false. That's because the loop runs the piece of code before it checks the condition.
false
Is that really proper JavaScript?