結果 : check if object is not null or undefined javascript