0 / 60 seg.

What is the result of the following code?

let p = 1, q = 0;
if ((p || q) && p + q === 1) {
  q = 1;
}
console.log(q);