From: es-discuss [mailto:[email protected]] On Behalf Of Brendan
Eich
> See Allen's latest followup on this -- is it a static error to have both
> constructor and the static [Symbol.new]() method?
IMO it shouldn't be, because it'd be weird to get an error for `constructor` +
`static [Symbol.new]()`, but to not get an error for `constructor` + `static
[Symbol["n" + "ew"]]()` and similar.
Another way of guiding the decision: I don't quite recall where the spec landed
`{ x: 1, ["x"]: 2 }`, but we should probably be consistent with that.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss