i need to create a random number -100 to 200: i can create a random number -100 to 100:
console.log(Math.ceil(Math.random() * 200) - 100); //this my code for -100 to 100
Aucun commentaire:
Enregistrer un commentaire