Add First Element Array Javascript Iteration