結果 : how to check object property in javascript