結果 : how to compare objects by value in javascript