What are Gecko's Javascript interpreter engine semantics?
问题 Edit In consideration of the answer response below regarding the reference ECMAScript Language Specification - 11.13.2 Compound Assignment Considering why these, javascript: o=""; o = o + (o+=1) ; alert(o); o=""; o = (o+=1) + o; alert(o); are NOT the same. There are temporal semantic issues with left to right script evaluation (ref:ECMA spec. - The addition operator). One consequence is that the + operator is not necessarily commutative. This can also be seen by with: javascript: o=1; o = o +