mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
292 B
TypeScript
11 lines
292 B
TypeScript
//// [tests/cases/conformance/es6/destructuring/restElementWithAssignmentPattern5.ts] ////
|
|
|
|
//// [restElementWithAssignmentPattern5.ts]
|
|
var s: string, s2: string;
|
|
[...[s, s2]] = ["", ""];
|
|
|
|
//// [restElementWithAssignmentPattern5.js]
|
|
"use strict";
|
|
var s, s2;
|
|
[...[s, s2]] = ["", ""];
|