Files
tsgo/testdata/baselines/reference/submodule/conformance/parserComputedPropertyName40.js

13 lines
284 B
TypeScript

//// [tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName40.ts] ////
//// [parserComputedPropertyName40.ts]
class C {
[a ? "" : ""]() {}
}
//// [parserComputedPropertyName40.js]
"use strict";
class C {
[a ? "" : ""]() { }
}