結果 : javascript how to check if variable is not undefined