Re: WindowProxy as the key in ES6 Set/Map/WeakSet/WeakMap

On Thu, Apr 17, 2014 at 8:14 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 4/17/14 6:35 PM, Rick Waldron wrote:
>
>> Will this actually matter? Will `w` ever have a _different_ identity
>> such that it will no longer be usable get the value from the map?
>>
>
> In Chrome, yes.  Did you not try my testcase at
> http://jsfiddle.net/zVqVX/1/ in Chrome?
>

I don't know where the disconnect was, but yes I see this result now—thanks
for your patience.

@Mark Miller, have you seen this example? Run it in Chrome with
experimental JS on—the object apparently violates its own identity.

Rick

Received on Friday, 18 April 2014 17:09:13 UTC