Question
What will the following expression evaluate to?
true || false
true || false
Answer: Option A
Was this answer helpful ?
Boolean operator || evaluates to true only when both the values are true or one is true and other is false.
Was this answer helpful ?
Submit Solution