how to initialize an array in javascript with 0 at every index code example
Example: fill array with values javascript
let filledArray = new Array(10).fill({'hello':'goodbye'});
let filledArray = new Array(10).fill({'hello':'goodbye'});