On Mon, Oct 1, 2012 at 3:21 PM, Brendan Eich <[email protected]> wrote:

> Andreas Rossberg wrote:
>
>> Er, from my reading that's clearly not what the Wiki says for WeakMap.
>> And it also is not what V8 implements, for either WeakMap or Map.
>>
>
> Sorry, I was relying on Rick's testimony that the answers were 1) yes, 2)
> no.



Yes, when I first considered the topic, it seemed to make some kind of
sense (based on a desire for consistency), but I also don't believe that
should be the case now—I even noted that I had always subjectively viewed
resulting behaviours as "strange".

I'm not sure I've ever encountered code in the wild that made any
intentional use of built-ins Foo.prototype-as-firstborn - can anyone on the
list point to some compelling use cases?


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

Reply via email to