mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
417 B
Plaintext
11 lines
417 B
Plaintext
//// [tests/cases/compiler/computedPropertiesInDestructuring2_ES6.ts] ////
|
|
|
|
=== computedPropertiesInDestructuring2_ES6.ts ===
|
|
let foo2 = () => "bar";
|
|
>foo2 : Symbol(foo2, Decl(computedPropertiesInDestructuring2_ES6.ts, 0, 3))
|
|
|
|
let {[foo2()]: bar3} = {};
|
|
>foo2 : Symbol(foo2, Decl(computedPropertiesInDestructuring2_ES6.ts, 0, 3))
|
|
>bar3 : Symbol(bar3, Decl(computedPropertiesInDestructuring2_ES6.ts, 1, 5))
|
|
|