Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

random function in javascript

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