The Logical OR Operator (||)
Description
The Logical OR operator || returns true if one or both of the operators are true, otherwise false.
Learn More:
Browser Support
||
is an ECMAScript1 (JavaScript 1997) feature.
It is supported in all browsers:
Chrome | Edge | Firefox | Safari | Opera |