DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
random numbers javascript
Math.floor(Math.random() * 100); // returns a random integer from 0 to 99
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#random
#numbers
#javascript
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit