Answers for "w3schools math.random"

1

random function javascript

let object = random(0, 50);
// making "object" a random number between 0 and 50.

console.log(object);
// printing object in the console
Posted by: Guest on June-24-2020
0

random function in javascript

function getRandom() {
  return Math.random();
}
Posted by: Guest on June-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language