What value is obtained when executing the following code?
let x = 4, y = 2;
if (x / (y * 2) === 1 && x - y === 2) {
y = 3;
}
console.log(y);
What value is obtained when executing the following code?
let x = 4, y = 2;
if (x / (y * 2) === 1 && x - y === 2) {
y = 3;
}
console.log(y);