結果 : loop through array of objects in javascript