// Only change code below this line.
var min = 5;
var max = 15;
function randomRange(myMin, myMax) {
return Math.floor(Math.random() * ((max + 1) - min)) + min; // Change this line
}
// Change these values to test your function
var myRandom = randomRange(5, 15);
This still does not meet the “randomRange should use both myMax and myMin, and return a random number in your range.
” requirement, What am I doing wrong?