結果 : how to iterate over array of objects in javascript