結果 : check object not null javascript