On Thu, Sep 29, 2011 at 3:10 PM, Brendan Eich <[email protected]> wrote:

> I still find implicit primitive wrapping where the wrapper is observable
> raises my hackles. Anyone feel the same?
>


I do. In ES5/strict code, nothing implicitly creates a *reachable* wrapper.
Put another way, if all your code is strict and you never explicitly create
a wrapper, you can ignore the existence of wrappers. The one remaining bit
of semantics that is currently explained in terms of wrappers is how, for
example,

    "foo".chatAt(1)

looks up "charAt" on String.prototype. We can easily rephrase these
explanations to avoid mentioning the wrapper concept.

Let's not backslide on this important bit of progress. No implicit creation
of *reachable* wrappers in ES-next, please!


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

Reply via email to