結果 : check for both null and undefined javascript