mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-07 00:03:44 -05:00
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);
|
||||
|
||||
function randomWholeNum() {
|
||||
|
||||
// Only change code below this line.
|
||||
Math.floor(Math.random() * 10);
|
||||
return Math.floor(Math.random());
|
||||
return Math.floor(Math.random()*10);
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user