Kevin Smith (2013-11-26T14:48:39.000Z)
domenic at domenicdenicola.com (2013-12-10T01:19:58.747Z)
> But IIRC (and from reading http://people.mozilla.org/~jorendorff/es6-draft.html, looking for LetOrConst uses), ES6 supports let > in all contexts, reserved word or not. Yes, I see that now. Has anyone done compatibility-hazard analysis for this breaking change? ; let["a"].foo() // Fine in ES5 non-strict, fails in ES6? > Did we really do any good trying to reserve yield *or* let in ES5? I don't > see it, now. It looks like the combination of context-sensitive lexing and the placement of the "use strict" prologue interacts...poorly. (Cue Indiana Jones and the Last Crusade.) I see now that Allen has moved strict reserved words out of the lexical grammar. Cool!