Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

fill array with random numbers javascript

let randomNumber = Array.from({length: 6}, () => Math.floor(Math.random() * 39));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fill #array #random #numbers #javascript
ADD COMMENT
Topic
Name
5+6 =