9 lines
91 B
JavaScript
9 lines
91 B
JavaScript
//! This script runs a while loop.
|
|
|
|
let x = 10;
|
|
|
|
while x > 0 {
|
|
print(x);
|
|
x -= 1;
|
|
}
|