DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript random number
function random(number) { return Math.floor(Math.random()*number); }
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#javascript
#random
#number
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit