What value is printed when executing the following code?
let p = 5, q = 15;
if (p > 2 && q < 20) {
p = p + q;
}
console.log(p);
What value is printed when executing the following code?
let p = 5, q = 15;
if (p > 2 && q < 20) {
p = p + q;
}
console.log(p);