結果 : if var is undefined javascript