12 lines
197 B
TypeScript
12 lines
197 B
TypeScript
//// [parserComputedPropertyName28.ts]
|
|
class C {
|
|
[e]: number = 0;
|
|
[e2]: number
|
|
}
|
|
|
|
//// [parserComputedPropertyName28.js]
|
|
class C {
|
|
constructor() {
|
|
this[e] = 0;
|
|
}
|
|
}
|