8 lines
No EOL
137 B
TypeScript
8 lines
No EOL
137 B
TypeScript
// @target: es6
|
|
|
|
// All use of let in const declaration should be an error
|
|
const x = 50, let = 5;
|
|
|
|
{
|
|
const x = 10, let = 20;
|
|
} |