firescript
Version:
Firescript language
32 lines (24 loc) • 323 B
Markdown
do...while
==========
A **do...while** statement loops through its `body` until a `test` expression evaluates into false
Syntax
------
```
do
[body]
while [test]
```
#### Firescript
```fire
do
i += 1
console.log(i)
while i < 100
```
#### Javascript
```js
do {
i += 1;
console.log(i);
} while (i < 100)
```