fix testsnippet crash

This commit is contained in:
Peli de Halleux 2016-08-10 14:06:26 -07:00
parent 9d15c4e270
commit 9788dd49cc

View File

@ -73,6 +73,7 @@ coll.push("cow")
<br/>
```blocks
let coll: string[] = []
let index = Math.random(coll.length)
let word = coll[index]
```