I don’t understand why this is happening. This is a very simple exercise that involves calling Math.random()
. My solution consists of a collection of one-line functions that are just variations on Math.floor(Math.random() * a + b)
Try to submit this from the browser, it will work there I think. My guess is that the test-runner doesn’t like us changing Math.random
;)
That worked. Thanks!
2 Likes