2015-02-07 05:49:58 +01:00
|
|
|
=== tests/cases/conformance/es6/Symbols/symbolDeclarationEmit10.ts ===
|
|
|
|
var obj = {
|
2015-04-13 23:01:57 +02:00
|
|
|
>obj : { [Symbol.isConcatSpreadable]: string; }, Symbol(obj, Decl(symbolDeclarationEmit10.ts, 0, 3))
|
2015-02-07 05:49:58 +01:00
|
|
|
>{ get [Symbol.isConcatSpreadable]() { return '' }, set [Symbol.isConcatSpreadable](x) { }} : { [Symbol.isConcatSpreadable]: string; }
|
|
|
|
|
|
|
|
get [Symbol.isConcatSpreadable]() { return '' },
|
2015-04-13 23:01:57 +02:00
|
|
|
>Symbol.isConcatSpreadable : symbol, Symbol(SymbolConstructor.isConcatSpreadable, Decl(lib.d.ts, 1230, 24))
|
|
|
|
>Symbol : SymbolConstructor, Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1262, 11))
|
|
|
|
>isConcatSpreadable : symbol, Symbol(SymbolConstructor.isConcatSpreadable, Decl(lib.d.ts, 1230, 24))
|
2015-04-13 21:36:11 +02:00
|
|
|
>'' : string
|
2015-02-07 05:49:58 +01:00
|
|
|
|
|
|
|
set [Symbol.isConcatSpreadable](x) { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>Symbol.isConcatSpreadable : symbol, Symbol(SymbolConstructor.isConcatSpreadable, Decl(lib.d.ts, 1230, 24))
|
|
|
|
>Symbol : SymbolConstructor, Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1262, 11))
|
|
|
|
>isConcatSpreadable : symbol, Symbol(SymbolConstructor.isConcatSpreadable, Decl(lib.d.ts, 1230, 24))
|
|
|
|
>x : string, Symbol(x, Decl(symbolDeclarationEmit10.ts, 2, 36))
|
2015-02-07 05:49:58 +01:00
|
|
|
}
|