On Tue, Mar 13, 2012 at 8:43 AM, Herby Vojčík <[email protected]> wrote:

> Kevin Smith wrote:
>
>> [...] that function would not benefit at all from being converted to a
>>    bound-this function.
>>
>>
>> Depending on syntax, it could be rewritten like this:
>>
>>     panels.each(p => { p.fadeIn(); });
>>
>> which would offer gains in brevity, even though lexical this is not
>> used.  I'm assuming that for all "non-method" function expressions, BTFs
>>
>
> The question here is, if there is a observable difference in performance
> between BTF and non-BTF, and not to allow the shorter syntax only for the
> less performant one (either only for the more performant one, or for both),
> because shorter form will be used also when not needed.


Hi Herby, the question where? Kevin is asking the question that I'm more
interested in, and for the right reason. We're trying to figure out what
the relative needs are for different forms of shorter function syntax.

-- 
    Cheers,
    --MarkM
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to