whats the problem with backslash and parentheses in this code? it spesificly appears in "else if" line
function roofFix(s, x){
if(x.includes("/")){
var xIndex1 = x.indexOf("/");
if( s[xIndex1] == " " ){
return true
}else{
return false
}
}else if(x.includes("\")){
if( s[xIndex1] == " " ){
return true
}else{
return false
}
}else{
return false
}
}
roofFix(' h c ', '__/____')