TypeScript/tests/cases/compiler/downlevelLetConst12.ts

12 lines
198 B
TypeScript
Raw Normal View History

2015-02-27 01:53:25 +01:00
// @target:es5
'use strict'
// top level let\const should not be renamed
let foo;
const bar = 1;
let [baz] = [];
let {a: baz2} = { a: 1 };
const [baz3] = []
const {a: baz4} = { a: 1 };