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