What is the most efficient way to create an arbitrary length zero filled array in JavaScript?
[...new Array(5)].map(x => 0); // [0, 0, 0, 0, 0]