結果 : how to check object is null or not in javascript