Skip to content

Commit b593f3e

Browse files
committed
swap line 10 and 11
1 parent 8655d17 commit b593f3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Sprint-2/1-key-exercises/4-random.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ console.log(num);
77

88
// "num" variable carries the result/value of the expressions evaluated.
99
// (maximum - minimum) workout the size of the range: 100 - 1 + 1 = 100
10-
// Math.floor() takes out all decimal and make them a whole number from 0 to 99.
1110
// Math.random() gives a decimal from 0 up to just under 1 (0.9999999).
11+
// Math.floor() takes out all decimal and make them a whole number from 0 to 99.
1212
// + minimum add 1 to the expression at the end because it is decleared a variable.

0 commit comments

Comments
 (0)