結果 : loop through list of objects in javascript