$("#team .title" || "#team .title1").css("opacity","1");or$("#team .title" && "# team .title1").css("opacity","1");Can it be written like this?
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
There is an expression inside, "#team .title" || "#team .title1" "#team .title" && "#team .title1"因为字符串恒为真,所以两个分别永远都是$("#team .title") $("#team .title1")
"#team .title" || "#team .title1"
"#team .title" && "#team .title1"
$("#team .title")
$("#team .title1")
You can’t write like this
"#team .title" || "#team .title1" = true"#team .title" && "#team .title1" = false
Bold guess, $(true) $("falss") is obviously meaningless. If you don't know, just write some tests. It's really lazy.
There is an expression inside,
"#team .title" || "#team .title1"
"#team .title" && "#team .title1"
因为字符串恒为真,所以两个分别永远都是$("#team .title")
$("#team .title1")
You can’t write like this
"#team .title" || "#team .title1" = true
"#team .title" && "#team .title1" = false
Bold guess, $(true) $("falss") is obviously meaningless. If you don't know, just write some tests. It's really lazy.