27 lines
657 B
Text
27 lines
657 B
Text
=== tests/cases/conformance/es6/Symbols/symbolDeclarationEmit11.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
static [Symbol.iterator] = 0;
|
|
>Symbol.iterator : symbol
|
|
>Symbol : SymbolConstructor
|
|
>iterator : symbol
|
|
>0 : number
|
|
|
|
static [Symbol.isConcatSpreadable]() { }
|
|
>Symbol.isConcatSpreadable : symbol
|
|
>Symbol : SymbolConstructor
|
|
>isConcatSpreadable : symbol
|
|
|
|
static get [Symbol.toPrimitive]() { return ""; }
|
|
>Symbol.toPrimitive : symbol
|
|
>Symbol : SymbolConstructor
|
|
>toPrimitive : symbol
|
|
>"" : string
|
|
|
|
static set [Symbol.toPrimitive](x) { }
|
|
>Symbol.toPrimitive : symbol
|
|
>Symbol : SymbolConstructor
|
|
>toPrimitive : symbol
|
|
>x : string
|
|
}
|