Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

fill array with values javascript

let filledArray = new Array(10).fill({'hello':'goodbye'});
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #fill #array #values #javascript
ADD COMMENT
Topic
Name
8+5 =