Answers for "random looking numbers js"

4

javascript random

function random(min, max) {
  return ~~(Math.random() * (max - min + 1) + min);
}
random(1, 5);
Posted by: Guest on June-08-2020
0

random number javascript

number = new Date();
number.Math.random();
Posted by: Guest on June-03-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language