Files
tsgo/testdata/baselines/reference/submodule/conformance/iterableArrayPattern23.js

11 lines
266 B
TypeScript

//// [tests/cases/conformance/es6/destructuring/iterableArrayPattern23.ts] ////
//// [iterableArrayPattern23.ts]
var a: string, b: boolean;
[a, b] = { 0: "", 1: true };
//// [iterableArrayPattern23.js]
"use strict";
var a, b;
[a, b] = { 0: "", 1: true };