Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript random number up to including 2

Math.floor(Math.random() * 10 + 1)
 
PREVIOUS NEXT
Tagged: #javascript #random #number #including
ADD COMMENT
Topic
Name
2+9 =