Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

random int javascript

//Returns random Int between 0 and 2 (included)
Math.floor(Math.random()*3)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #random #int #javascript
ADD COMMENT
Topic
Name
7+4 =