indentify the logical operation in JavaScript
Answers
Answered by
20
Answer:
In classical programming, the logical OR is meant to manipulate boolean values only. If any of its arguments are true , it returns true , otherwise it returns false . In JavaScript, the operator is a little bit trickier and more powerful. ... If an operand is not a boolean, it's converted to a boolean for the evaluation
Answered by
0
Answer:
There are three logical operators in JavaScript: || (OR), && (AND), ! (NOT). Although they are called “logical”, they can be applied to values of any type, not only boolean. Their result can also be of any type.
Similar questions