Search
 
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
Name
2+5 =