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