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