Change docs to randomInt
This commit is contained in:
@ -76,7 +76,7 @@ coll.push("cow")
|
||||
|
||||
```blocks
|
||||
let coll: string[] = []
|
||||
let index = Math.random(coll.length)
|
||||
let index = Math.randomInt(coll.length)
|
||||
let word = coll[index]
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user