The operator precedence documentation says that the postfix increment operator have a higher precedence over the assignment operator, but the following example shows that the opposite is true:
var i = 1;
var j = i++;
console.log(j); // will output 1 (I expected the output to be 2)
Why the output is 1 instead of 2?