mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
662 B
Plaintext
20 lines
662 B
Plaintext
//// [tests/cases/conformance/es6/computedProperties/computedPropertyNamesSourceMap1_ES6.ts] ////
|
|
|
|
=== computedPropertyNamesSourceMap1_ES6.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(computedPropertyNamesSourceMap1_ES6.ts, 0, 0))
|
|
|
|
["hello"]() {
|
|
>["hello"] : Symbol(C["hello"], Decl(computedPropertyNamesSourceMap1_ES6.ts, 0, 9))
|
|
>"hello" : Symbol(C["hello"], Decl(computedPropertyNamesSourceMap1_ES6.ts, 0, 9))
|
|
|
|
debugger;
|
|
}
|
|
get ["goodbye"]() {
|
|
>["goodbye"] : Symbol(C["goodbye"], Decl(computedPropertyNamesSourceMap1_ES6.ts, 3, 2))
|
|
>"goodbye" : Symbol(C["goodbye"], Decl(computedPropertyNamesSourceMap1_ES6.ts, 3, 2))
|
|
|
|
return 0;
|
|
}
|
|
}
|