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