According to user min and max range generating random number

PHOTO EMBED

Sat Oct 09 2021 14:33:19 GMT+0000 (UTC)

Saved by @karthikbt22 #undefined #javascript

function randomRange(myMin, myMax) {
  // Only change code below this line
  return Math.floor(Math.random()* (myMax - myMin+1)+myMin);
  // Only change code above this line
}
content_copyCOPY

freecode camp

https://jsbin.com/