# proposal extensions (Was: Re: Sep 26 meeting notes)
brendan at mozilla.com
Thu Sep 29 15:44:02 PDT 2011
On Sep 29, 2011, at 11:34 PM, Allen Wirfs-Brock wrote:
>> I still find implicit primitive wrapping where the wrapper is observable raises my hackles. Anyone feel the same?
> Yes, but we have them and I don't seen anyway to eliminate them.
AFAIK, "we have them" is false in ES5 -- implicitly created primitive wrappers do not escape, and engines do optimize them away.
With <| you could argue you're not leaking the wrapper, rather a clone it, but that's easily optimized to avoid the clone, and in any case the hackle-raising thing is the implicit primitive wrapper "escaping". Maybe I'm overreacting, though.
More information about the es-discuss