What is the result of the following code?
let foo = 0; let bar = false; if (foo || bar) { foo = 1; } console.log(foo);
false
1
true
0