結果 : for each with index javascript