0 points

Random number from an interval


dashboard

Tue Sep 01 2020 09:51:10 GMT+0000 (UTC)

Posted by @KennethSangill

function ()
{
 var min = 1; //edit the minimum possible value
 var max = 5; //edit the maximum possible value
 return Math.floor(Math.random()*(max-min+1)+min);
}
content_copy Copy