initiallizing array 1-100 in javascript code example Example: create array initialize size javascript with value new Array(4).fill({}) //[{},{},{},{}]