On 7/17/2013 4:02 PM, Brandon Benvie wrote:
And this is how it currently works in the V8 implementation. The first thing I did testing it looked like:

    var s = new Symbol();
    var x = {};
    x[s] = 'test';

I was surprised to find that this threw an error instead of doing the (to me) obvious thing.

(And to clarify, it throws on line 3, not line 1)
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to