結果 : check if var is not defined javascript