while
Description
The while of Iterations for JS iterates a loop while the condition is true.
It is similar to a for statement but has different syntax.
Syntax
while(condition) { code }
The while of Iterations for JS iterates a loop while the condition is true.
It is similar to a for statement but has different syntax.
while(condition) { code }