Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript random number

Math.floor(Math.random() * 10) // Will return a integer between 0 and 9
Math.floor(Math.random() * 11) // Will return a integer between 0 and 10
Source by github.com #
 
PREVIOUS NEXT
Tagged: #javascript #random #number
ADD COMMENT
Topic
Name
7+7 =