mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +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 };
|
||
|
}
|
||
|
}
|