As I understand from Javascript || operator,
||
will return whichever operand is true, and
?:
will return the 1st operand if the condition before ?
evaluates to true, the 2nd otherwise.
But can ||
be considered as a ternary operator itself or not? Explain.