What value is obtained when executing the following code?
let t1 = true, t2 = false;
if (t1 && !t2) {
t2 = true;
}
console.log(t2);
What value is obtained when executing the following code?
let t1 = true, t2 = false;
if (t1 && !t2) {
t2 = true;
}
console.log(t2);