Is there a way to generate a random number in a specified range (e.g. from 1 to 6: 1, 2, 3, 4, 5, or 6) in JavaScript?
to return 1-6 like a dice basically,
return Math.round(Math.random() * 5 + 1);