how to create a random number within a range in js code example
Example: random in a range js
const rnd = (min,max) => { return Math.floor(Math.random() * (max - min + 1) + min) };
const rnd = (min,max) => { return Math.floor(Math.random() * (max - min + 1) + min) };