結果 : javascript loop through array of objects and get value