What am I doing wrong? In Javascript I am using the logical operator or in:
Use the logical operator or in variables 'foo' and 'bar' and assign it the result to the variable disjunction.
But it's not working for me; The code I use is the following:
foo = true;
bar = false;
if (foo || bar) {
disjunction = foo;
} else {
disjunction = bar;
}