Change docs to randomInt

This commit is contained in:
Sam El-Husseini
2018-04-21 10:52:09 -07:00
parent 99a28e59f1
commit 6b9e78d269
61 changed files with 152 additions and 152 deletions

View File

@ -15,7 +15,7 @@ The blocks have been shuffled! Put them back together so that...
```shuffle
basic.showString("ASK A QUESTION")
input.onGesture(Gesture.Shake, () => {
let randomNumber = Math.random(3)
let randomNumber = Math.randomInt(3)
if (randomNumber == 2) {
basic.showString("YES")
} else if (randomNumber == 1) {