What is the result of the following code?
let p = 5, q = 10;
if (p * 2 == q && p + q == 15 || p - q == -5) {
p = p + q;
}
console.log(p);
What is the result of the following code?
let p = 5, q = 10;
if (p * 2 == q && p + q == 15 || p - q == -5) {
p = p + q;
}
console.log(p);