Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript random number

function random(number) {
  return Math.floor(Math.random()*number);
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #random #number
ADD COMMENT
Topic
Name
7+3 =