What value is printed when executing the following code?
let c = 2, d = 4;
if (c < d && c + d == 6 || c * d == 8) {
d = c * 2;
}
console.log(d);
What value is printed when executing the following code?
let c = 2, d = 4;
if (c < d && c + d == 6 || c * d == 8) {
d = c * 2;
}
console.log(d);