Skip to content

Commit c4041a0

Browse files
Correcting comment on line 27
1 parent 3754064 commit c4041a0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@ console.log(num);
2424

2525

2626

27-
// Last operation is to add 1 to the generated rounded figure this can be any number from 0 to 99 since the rounding is using Math.Floor and not Math.Ceil we could get a (0) => adding 1 will insure the range is between 1 and 100 i.e minimuam and maximum
28-
29-
27+
// Last operation is to add the + minimum (in this case it's 1 or it can be changed to any changed number e.g 10) this will shift the random number so it starts counting from minimum, instead of from zero.

0 commit comments

Comments
 (0)