結果 : how to check empty object condition in javascript