8 lines
No EOL
170 B
TypeScript
8 lines
No EOL
170 B
TypeScript
// https://github.com/microsoft/TypeScript/issues/30953
|
|
const x = 1;
|
|
class C {
|
|
[x] = true;
|
|
constructor() {
|
|
const { a, b } = { a: 1, b: 2 };
|
|
}
|
|
} |