我不知道如何使以下代码工作:
if(response!==("usernamewrong" OR "passwordwrong")){
print("login Wrong");
} else {
//if anything else other than the two shows up into the response goes here
}发布于 2015-06-03 18:09:31
在条件中执行多个检查时,必须明确如下:
if (response == "usernamewrong" || response == "passwordwrong")https://stackoverflow.com/questions/30627534
复制相似问题