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 <[email protected]> wrote:
> 
> Emanuel Allen schrieb:
>> Typo. I'm worrying about this:
>> 
>> arr[i++]=obj[e]
>> 
>> 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
> 
>  (((arr)[((i)++)])=((obj)[(e)]))
> 
> and then basically evaluated left-to-right.
> 
> Bergi
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to