Andreas Rossberg (2013-07-15T09:52:39.000Z)
On 12 July 2013 22:29, Jeremy Martin <jmar777 at gmail.com> wrote:
> My expectation would be that...
>
> (a === b) === (new Symbol(a) === new Symbol(b))

Nit: you probably either mean

  (a === b) >= (new Symbol(a) === new Symbol(b))

or

  (Object.is(a, b)) === (new Symbol(a) === new Symbol(b))

In any case, I'd also say that weak maps are good enough for your use case.

/Andreas
domenic at domenicdenicola.com (2013-07-18T16:17:34.314Z)
On 12 July 2013 22:29, Jeremy Martin <jmar777 at gmail.com> wrote:
> My expectation would be that...
>
> ```js
> (a === b) === (new Symbol(a) === new Symbol(b))
> ```

Nit: you probably either mean

```js
(a === b) >= (new Symbol(a) === new Symbol(b))
```

or

```js
(Object.is(a, b)) === (new Symbol(a) === new Symbol(b))
```

In any case, I'd also say that weak maps are good enough for your use case.