DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+9 =
Submit