fill array to size will 0 code example Example: fill array with values javascript let filledArray = new Array(10).fill({'hello':'goodbye'});