# proposal extensions (Was: Re: Sep 26 meeting notes)

Mark S. Miller erights at google.com
Thu Sep 29 15:21:12 PDT 2011


On Thu, Sep 29, 2011 at 3:10 PM, Brendan Eich <brendan at mozilla.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110929/8f4c3bf7/attachment.html>


More information about the es-discuss mailing list