Greedy triple-quoted string literals

Garrett Smith dhtmlkitchen at gmail.com
Wed Feb 20 00:38:19 PST 2008


On Feb 19, 2008 10:21 AM, liorean <liorean at gmail.com> wrote:
> > On Feb 18, 2008 1:17 PM, liorean <liorean at gmail.com> wrote:
> On 19/02/2008, Garrett Smith <dhtmlkitchen at gmail.com> wrote

> >      (o.f)(); // =>o
> >
> > This should be window.
>
> No it shouldn't. The grouping syntax specifically doesn't call
> GetValue in order to make delete and typeof operators able to use
> function-call-like syntax. Which makes up for this asymmetry.

Right. Thank you.

> --
> David "liorean" Andersson



More information about the Es4-discuss mailing list