Questions and Answers
Which operator in JavaScript returns the value of the first operand if it can be converted to true, otherwise it returns the value of the second operand?
||
What is the term used to describe a value that can be converted to true in JavaScript?
Truthy
What is the term used to describe a value that can be converted to false in JavaScript?
Falsy
What can be used to explicitly convert the return value of the logical OR operator in JavaScript to a boolean value?
Signup and view all the answers
In logic, what does the word 'or' indicate when used as a sentential connective?
Signup and view all the answers