結果 : loop through each object in array javascript