Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get random numbers javascript

//Write the following code to get a random number between 0 and n
Math.floor(Math.random() * n);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #random #numbers #javascript
ADD COMMENT
Topic
Name
1+8 =