結果 : how to get distinct values from an array of objects in javascript