Answers for "math random number per 5"

0

js random number between 1 and 5

const rndInt = Math.floor(Math.random() * 6) + 1
    console.log(rndInt)
 Run code snippet
Posted by: Guest on April-07-2022
0

random number between 1 and 10 javascript

~~(Math.random()*10)
Posted by: Guest on February-16-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language