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