firescript
Version:
Firescript language
32 lines (24 loc) • 299 B
Markdown
break
========
The **break** statement terminates the iteration of a loop, switch or label.
Syntax
------
```
break [label]
```
#### Firescript
```fire
while num
num += 1
if num >= 100
break
```
#### Javascript
```js
while (num) {
num += 1;
if (num >= 100) {
break;
}
}
```