15 lines
269 B
Plaintext
15 lines
269 B
Plaintext
=== tests/cases/conformance/es6/destructuring/nonIterableRestElement2.ts ===
|
|
var c = {};
|
|
>c : {}
|
|
>{} : {}
|
|
|
|
[...c] = ["", 0];
|
|
>[...c] = ["", 0] : (string | number)[]
|
|
>[...c] : undefined[]
|
|
>...c : any
|
|
>c : {}
|
|
>["", 0] : (string | number)[]
|
|
>"" : ""
|
|
>0 : 0
|
|
|