18 lines
317 B
Plaintext
18 lines
317 B
Plaintext
=== tests/cases/conformance/es6/Symbols/symbolProperty50.ts ===
|
|
module M {
|
|
>M : typeof M
|
|
|
|
interface Symbol { }
|
|
>Symbol : Symbol
|
|
|
|
class C {
|
|
>C : C
|
|
|
|
[Symbol.iterator]() { }
|
|
>[Symbol.iterator] : () => void
|
|
>Symbol.iterator : symbol
|
|
>Symbol : SymbolConstructor
|
|
>iterator : symbol
|
|
}
|
|
}
|