mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 16:42:28 +03:00
9 lines
177 B
TypeScript
9 lines
177 B
TypeScript
|
// https://github.com/microsoft/TypeScript/issues/30953
|
||
|
"use strict";
|
||
|
const x = 1;
|
||
|
class C {
|
||
|
[x] = true;
|
||
|
constructor() {
|
||
|
const { a, b } = { a: 1, b: 2 };
|
||
|
}
|
||
|
}
|