結果 : check if string is null or undefined javascript