What is the result of the following code?
let x = 2, y = 4;
if (x < y && y / x === 2 || x * y === 10) {
y = y - x;
}
console.log(y);
What is the result of the following code?
let x = 2, y = 4;
if (x < y && y / x === 2 || x * y === 10) {
y = y - x;
}
console.log(y);