mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
284 B
TypeScript
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 ? "" : ""]() { }
|
|
}
|