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