Re:JavaScript Quiz Set
by jonsen on Saturday January 19, 2013 @03:52PM
(#5084710)
I don't know. But I happen to know that the javascript tokenizer matches the longest possible substring. Therefore it takes '++' from '+++..', not '+'. It's not about precedence.
EDIT: Yes, the assignment operators, =, += etc., evaluates right to left.
EDIT: Yes, the assignment operators, =, += etc., evaluates right to left.