結果 : how to iterate through a nested array javascript