16 lines
278 B
Text
16 lines
278 B
Text
=== tests/cases/conformance/es6/Symbols/symbolProperty51.ts ===
|
|
module M {
|
|
>M : typeof M
|
|
|
|
module Symbol { }
|
|
>Symbol : any
|
|
|
|
class C {
|
|
>C : C
|
|
|
|
[Symbol.iterator]() { }
|
|
>Symbol.iterator : symbol
|
|
>Symbol : SymbolConstructor
|
|
>iterator : symbol
|
|
}
|
|
}
|