Update index.md (#19461)
This commit is contained in:
@ -36,9 +36,7 @@ Here’s a full solution:
|
|||||||
var randomNumberBetween0and19 = Math.floor(Math.random() * 20);
|
var randomNumberBetween0and19 = Math.floor(Math.random() * 20);
|
||||||
|
|
||||||
function randomWholeNum() {
|
function randomWholeNum() {
|
||||||
|
|
||||||
// Only change code below this line.
|
// Only change code below this line.
|
||||||
Math.floor(Math.random() * 10);
|
return Math.floor(Math.random()*10);
|
||||||
return Math.floor(Math.random());
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user