DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
random in range js
function randomInRange(min, max) { return Math.floor(Math.random() * (max - min) + min); }
PREVIOUS
NEXT
Tagged:
#random
#range
#js
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit