What is the result of the following code?
let i = 1, j = 2;
if (i < j && i + j > 2 || i - j < 0) {
j = i + 1;
}
console.log(j);
What is the result of the following code?
let i = 1, j = 2;
if (i < j && i + j > 2 || i - j < 0) {
j = i + 1;
}
console.log(j);