What is the result of the following code?
let p = 0, q = false; if (p || q) { p = 1; } else { p = 2; } console.log(p);
0
2
1
false