Lesson 31 - Javascript Generate random whole numbers within a range comment error #1947
Comment needed changed to be more concise. See #1947
This commit is contained in:
@ -939,7 +939,7 @@
|
|||||||
"var min = 0;",
|
"var min = 0;",
|
||||||
"var max = 9;",
|
"var max = 9;",
|
||||||
"function myFunction() {",
|
"function myFunction() {",
|
||||||
" // Make myFunction return a random number between zero and nine instead of a decimal",
|
" // Make myFunction return a random number between min and max values instead of a decimal",
|
||||||
" // Only change code below this line.",
|
" // Only change code below this line.",
|
||||||
"",
|
"",
|
||||||
" return Math.random();",
|
" return Math.random();",
|
||||||
|
Reference in New Issue
Block a user