There was an error while loading. Please reload this page.
1 parent 8085ffc commit 71e9cc8Copy full SHA for 71e9cc8
1 file changed
Sprint-2/1-key-exercises/4-random.js
@@ -15,5 +15,8 @@ const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
15
// The method Math.floor() then return greatest integer of the value of this product.
16
// And finally plus the value of minimum variable declared.
17
18
+//`num` is a random integer between maximum and minimum inclusive.
19
+// The smallest value of 'num' can be 1
20
-console.log(num)
21
+
22
+console.log(num)
0 commit comments