結果 : check if not null or undefined javascript