Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript random number up to including 2

Math.floor(Math.random() * 10 + 1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #random #number #including
ADD COMMENT
Topic
Name
8+5 =