Skip to content

Commit e0248f4

Browse files
committed
updated 4-random.js with additional information
1 parent a1992d3 commit e0248f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
55

66
// In this exercise, you will need to work out what num represents?
77
//*Answer:
8-
//Number returns a random whole number between 1 and 100.
8+
//Number returns a random whole number between 1 and 100 inclusive.
9+
//It can never go below 1 or over 100.
910

1011
// Try breaking down the expression and using documentation to explain what it means
1112
/*Answer:

0 commit comments

Comments
 (0)