||或位符号
a||b
1.当a,b均为true时,returna
2.当a,b均为false时,returnb
3.当a,b为一false一true,returntrue的那个值
&&与位符号
a&&b
1.当a,b均为true时,returnb
2.当,b均为false时,returna
3.当啊a,b为一false一true时,returnfalse的那个值


本文转载自中文网


本文转载自中文网
如需转载,请注明文章出处和来源网址:http://www.divcss5.com/html/h55232.shtml