if(a){
b
}
可以写成 a && b
if(!a){
b
}
a || b
javascript的if简写
最新推荐文章于 2023-01-06 11:31:22 发布
if(a){
b
}
可以写成 a && b
if(!a){
b
}
a || b