add values to array using for loop in javascript 23 Add Values To Array Using For Loop In Javascript Statement 1 sets a variable before the loop starts (let i = 0). Statement 2 defines the condition for the loop to run (i mu… Written By Anonymous Tuesday, October 9, 2018 Add Comment Edit