結果 : how to compare object values in javascript