TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration13_es6.ts
2016-02-20 00:58:20 -08:00

6 lines
250 B
TypeScript

// @target:es6
// An ExpressionStatement cannot start with the two token sequence `let [` because
// that would make it ambiguous with a `let` LexicalDeclaration whose first LexicalBinding was an ArrayBindingPattern.
var let: any;
let[0] = 100;