結果 : test if variable is undefined javascript