Syntax For Creating Array Javascript Iteration