TypeScript/tests/cases/compiler/bindingPatternOmittedExpressionNesting.ts
Yui 39e0cc61a7 Fix 16628: "undefined" exception when name of binding element in binding pattern is empty (#17132)
* Handle the case where binding pattern name element is empty

* Update tests and baselines

* Feedback from PR

* Handle empty binding patterns more generally in emitter

* Dont simply handling fo empty binding patterns and stay spec compliant

* PR feedback
2017-08-09 13:47:44 -07:00

2 lines
68 B
TypeScript

// @declaration: true
export let [,,[,[],,[],]] = undefined as any;