zero filled array javascript code example Example: javascript initiate array all zero new Array(len).fill(0);