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)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#random
#number
#including
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit