結果 : if variable undefined javascript