how to get a random number in 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) };