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 developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #function #generate #random #number #javascript
ADD COMMENT
Topic
Name
5+4 =