-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
In section #3 Types, in the practice exercises we were to write a randUpTo function. This function passes the Jasmin test with the following solution:
return Math.random() * n;
This solution is wrong because it does not product a whole number as requested in the function specs.
The Jasmine test should be modified to test that the randUpTo function is returning a whole number.
Metadata
Metadata
Assignees
Labels
No labels