There was an error while loading. Please reload this page.
1 parent c914559 commit 55c821cCopy full SHA for 55c821c
1 file changed
Sprint-2/1-key-exercises/4-random.js
@@ -12,5 +12,5 @@ console.log(num)
12
13
//math.floor is round down the number returns to largest integer less than or equal to a given number.
14
//math.random() could generate the number from 0 to <1 b random.
15
-//maximum refer to 100 and minimum refer to 0.
16
-//The calculation of num is different everytime because of math.random()
+//maximum refer to 100 and minimum refer to 1.
+//The calculation of num is different everytime because of math.random(). smallest value of num is 1. And largest is 100.
0 commit comments