+ 4

CĂłmo puedo escribir una variable que me asigne un nĂșmero aleatorio del 1 al 10 en javascript?

es para el desarrollo de un juego

27th Feb 2018, 10:47 PM
Edwin Alexander Espejo Robles
Edwin Alexander Espejo Robles - avatar
2 Réponses
+ 8
@WASP you can use this for easy syntax Math.ceil(Math.random()*10)
28th Feb 2018, 8:03 AM
Amethyst Animion
Amethyst Animion - avatar
+ 4
Da me un codigo de javascript, con uno variable. de playground. Yo ayudas.
27th Feb 2018, 10:52 PM
Manual
Manual - avatar
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes