On Mon, Apr 23, 2012 at 3:53 AM, Alex Russell <[email protected]> wrote:

>
> The new forms we're adding (methods and arrows) have the potential to
> change this radically, causing a large percentage of functions encountered
> by programmers to have binding. If that binding is hard-binding, .call()
> and .apply() break in the minds of users. Perhaps that's fine by you, but
> in addition to being a contractual failure, it removes a form of
> genericness which is unique in the language.
>

Sorry if I missed reading about this but: why can't we re-bind 'this" in
bound functions when using call(), apply() ? I'm sure it will make more
work for JIT optimizers but they are very good and love this kind of
problem.

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

Reply via email to