Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

random js

function randomNumber(min, max) {
  return Math.floor(Math.random() * (max - min)) + min + 1;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #random #js
ADD COMMENT
Topic
Name
7+4 =