結果 : how to extract object from array of objects in javascript