random number between two values

PHOTO EMBED

Thu Dec 30 2021 12:45:44 GMT+0000 (UTC)

Saved by @raymondfdavey #javascript

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