There was an error while loading. Please reload this page.
1 parent 157f416 commit 2886191Copy full SHA for 2886191
1 file changed
Sprint-2/1-key-exercises/4-random.js
@@ -2,7 +2,7 @@ const minimum = 1;
2
const maximum = 100;
3
4
const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
5
-num = Math.floor(Math.random(0.9) * (100 - 1 + 1)) + 1;
+
6
7
// In this exercise, you will need to work out what num represents?
8
// Try breaking down the expression and using documentation to explain what it means
0 commit comments