結果 : if string is undefined javascript