What is the result of the following code?
let r = 1, s = 2;
if ((r < s) && (s - r === 1 || r + s === 3)) {
s = 1;
}
console.log(s);
What is the result of the following code?
let r = 1, s = 2;
if ((r < s) && (s - r === 1 || r + s === 3)) {
s = 1;
}
console.log(s);