2.1.32 [ECMA-262-1999] Section 11.8.2, The Greater-than Operator ( > )
The production RelationalExpression : RelationalExpression > ShiftExpression is evaluated as follows:
Perform the comparison Result(4) < Result(2) __with the LeftFirst flag set to false__. (see [ECMA-262-1999] section 11.8.5).
If Result(5) is undefined, return false. Otherwise, return Result(5).
ECMAScript generally uses a left-to-right evaluation order; however the [ECMA-262-1999] specification of the > operator results in an observable partial right-to-left evaluation order when the application of ToPrimitive on both operands has visible side effects. JScript 5.x implements strict left-to-right evaluation order for the operands of >. Any ToPrimitive side effects caused by evaluating the left operand are visible before ToPrimitive is applied to the right operand.