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, rather than false.
let x = 1 || 0 === 0; // x === 1;
You have to wrap in parens to get a boolean:
let x = (1 || 0) === 0; // x === false;
What gives?
NOTE this is not a dup of this question, which does not have anything about equality operators - JavaScript OR (||) variable assignment explanation