結果 : javascript get ids from array of objects