mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
376 B
TypeScript
21 lines
376 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName33.ts] ////
|
|
|
|
//// [parserComputedPropertyName33.ts]
|
|
class C {
|
|
// No ASI
|
|
[e] = 0
|
|
[e2]() { }
|
|
}
|
|
|
|
//// [parserComputedPropertyName33.js]
|
|
"use strict";
|
|
var _a;
|
|
class C {
|
|
constructor() {
|
|
// No ASI
|
|
this[_a] = 0[e2]();
|
|
}
|
|
}
|
|
_a = e;
|
|
{ }
|