various docs updates

This commit is contained in:
Peli de Halleux
2016-04-05 23:11:48 -07:00
parent baf2c3247f
commit 2aa7c91ca7
5 changed files with 127 additions and 145 deletions

26
docs/reference/loops.md Normal file
View File

@ -0,0 +1,26 @@
# Loops
Repeat code.
[for](/reference/loops/for)
```blocks
for(let i = 0;i<5;i++) {}
```
[repeat](/reference/loops/repeat)
![](/static/mb/blocks/contents-0.png)
[while](/reference/loops/while)
```blocks
while(true) {}
```
[forever](/reference/basic/forever)
```blocks
basic.forever(() => {})
```