mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
b887b30092
**Description:** This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
6 lines
170 B
TypeScript
6 lines
170 B
TypeScript
//@target: ES6
|
|
var array: [number, string | boolean | symbol][] = [[0, ""], [0, true], [1, Symbol()]]
|
|
for (var [num, strBoolSym] of array) {
|
|
num;
|
|
strBoolSym;
|
|
} |