Evaluate postfix after assignment
emanuelallen at hotmail.com
Wed May 13 05:07:33 UTC 2015
Oh wow that seem like a lot of work the interpreter is doing...
Thank you for the explanation guys/gals.
Aim to be a JS MASTER.
> On May 12, 2015, at 6:25 PM, Bergi <a.d.bergi at web.de> wrote:
> Emanuel Allen schrieb:
>> Typo. I'm worrying about this:
>> arr[i++]//this will evaluate first before the value return since the = have a lower
>> precedence than ++.
> Notice that operator precedence has to do with parsing an (otherwise ambiguous) expression, not with evaulation order.
> So this is parsed to
> and then basically evaluated left-to-right.
More information about the es-discuss