const VS features detection

Mark S. Miller erights at google.com
Fri Jan 10 17:56:25 PST 2014


You read my sample right. The mistake was mine, and the parens should be
places where Brendan shows.


On Fri, Jan 10, 2014 at 5:48 PM, Kevin Smith <zenparsing at gmail.com> wrote:

>
>> No, what is required is
>>
>>   (() => {...whatever...})()
>>
>> Arrow function expressions are an AssignmentExpression.
>
>
> Right, I misread Mark's code sample.
>
>


-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140110/22f76745/attachment.html>


More information about the es-discuss mailing list