According to Mozilla, the === operator has higher precedence than the || operator, which is what I would expect.
However this statement evaluates to the number 1, rathe
Higher operator precedence is like a parenthesis around the operands.
let x = 1 || (0 === 0);
The second part gets never evaluated, because of the truthy value of 1 .
1