結果 : how to get all id from array of objects in javascript