Performs a logical disjunction on two expressions.
result = expression1 || expression2
If either or both expressions evaluate to True, result is True. The following table illustrates how result is determined:
All objects are considered true.
Strings are considered false if and only if they are empty.
nulland undefined are considered false.
Numbers are false if, and only if, they are 0.
Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Also supported in Store apps (Windows 8 and Windows Phone 8.1). See Version Information.