Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

function to generate random number in javascript

function random(number){
    return Math.floor(Math.random()*number);;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #function #generate #random #number #javascript
ADD COMMENT
Topic
Name
2+8 =