What is the most efficient way to create an arbitrary length zero filled array in JavaScript?
let filled = []; filled.length = 10; filled.fill(0); console.log(filled);