16 lines
384 B
Text
16 lines
384 B
Text
=== tests/cases/conformance/es6/Symbols/symbolDeclarationEmit14.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
get [Symbol.toPrimitive]() { return ""; }
|
|
>Symbol.toPrimitive : symbol
|
|
>Symbol : SymbolConstructor
|
|
>toPrimitive : symbol
|
|
>"" : string
|
|
|
|
get [Symbol.toStringTag]() { return ""; }
|
|
>Symbol.toStringTag : symbol
|
|
>Symbol : SymbolConstructor
|
|
>toStringTag : symbol
|
|
>"" : string
|
|
}
|