swc/crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName34.ts

6 lines
84 B
TypeScript

//@target: ES6
enum E {
// no ASI, comma expected
[e] = id++,
[e2] = 1
}