getRandomValue(min,max)

PHOTO EMBED

Mon Jun 14 2021 20:03:32 GMT+0000 (Coordinated Universal Time)

Saved by @Yoka #javascript

function getRandomValue(min, max) {
  return Math.floor(Math.random() * (max - min) + min);
}
content_copyCOPY

Returns a random value between the min and max parameters.