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 developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #random #int #javascript
ADD COMMENT
Topic
Name
8+1 =