Q:

initialize all the values in a javascript array to 0 without iteration

is there any way to make javascript array to initialize all the values to 0 without iteration like as shown below
var array = [1, 2, 3, 4, 5];

to 
[0, 0, 0, 0, 0]

A:

You could, in compliant browsers, use Array.prototype.fill():
 var array = [1, 2, 3, 4, 5];
 array.fill(0); // [0, 0, 0, 0, 0]

References:

Array.prototype.fill().