結果 : iterate through a list of objects javascript