你如何在javascript中的if条件下编写AND?我想要这段代码,但它会产生错误。
if(xmlDoc.selectSingleNode("//RentersInsuranceSetting/Row").getAttribute("ExcludeCorporateUnits")==1) AND (xmlDoc.selectSingleNode("//AllPeople/Row").getAttribute("BusinessCorporationBit")==1)
{
confirmValidRentersInsurance.required = "noReq"
confirmValidRentersInsurance.style.color = "blue"
insuranceRequired = false
}
javascript中AND的运算符是什么?