Last active
December 19, 2017 18:13
-
-
Save edysegura/86549b01ebe398803a7cfdbe550abab0 to your computer and use it in GitHub Desktop.
[JS] Random Numbers
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
console.log((""+Math.random()).substring(2,7)) | |
console.log(Math.random() * Math.pow(10, 17) + Math.random() * Math.pow(10, 17) + Math.random() * Math.pow(10, 17) + Math.random() * Math.pow(10, 17)); | |
console.log("id" + Math.random() * Math.pow(10, 17) + Math.random() * Math.pow(10, 17) + Math.random() * Math.pow(10, 17) + Math.random() * Math.pow(10, 17)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment