let p=[0,1,3,5];
let z=[0,2,4,6,8];
let pL = p.length;//Длина массива
let zL = z.length;
/*document.write(pL+" "+zL);*/
let d=true;
let c=false;
let r= prompt("Enter pL");
let r1= prompt("Enter zL");
if (r===4 && r1===5){
document.write("<hr>"+r+"<br>"+r1+"<br>"+d);
}
else {
document.write("<hr>"+r+"<br>"+r1+"<br>"+c);
}
|