how to get a random integer between a range in javascript 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) };