Created
July 14, 2022 14:45
-
-
Save catharyna-angela/d2740e0ef64a0e29354bc2244ac1423d to your computer and use it in GitHub Desktop.
número inteiro aleatório em javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let num = parseInt(Math.random() * 10) //to tens *10, to hundreds *100, to thousands *1000... | |
console.log(num); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment