結果 : how to check object has value in javascript