Intentional breaking change in ES6 draft spec?
lukeh at microsoft.com
Thu Jun 13 19:24:30 PDT 2013
>> From: Erik Arvidsson [mailto:erik.arvidsson at gmail.com]
>> This was from back in the days when Google code search was still available and the only hits we found were from test suites.
>> On Jun 13, 2013 8:54 PM, "Brendan Eich" <brendan at mozilla.com> wrote:
>>We had some web crawling help, IIRC. We also figured we had time to test and put it back, if needed. Did you find web content using it?
We haven't done a run yet to look for content using this. Promising to hear that Google code search didn't hit anything. I'll see if we can get some data here.
>>>>Was that an intentional breaking change? If so, why?
>>Yes, to simplify and tighten up grammar (and engines). We reckoned that only testsuites counted on this. This was recorded in some meeting notes but I'm not free to dig them up right now.
Must have missed that discussion. Doesn't seem a big win for engines or the grammar, as it reduces orthogonality in the grammar wrt variable declarations (I believe this introduces the only place that "var x" is allowed but cannot have an initializer?).
More information about the es-discuss