結果 : compare two object properties javascript