mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
6 lines
167 B
TypeScript
6 lines
167 B
TypeScript
//@target: ES6
|
|
var array: [number, string | boolean | symbol][] = [[0, ""], [0, true], [1, Symbol()]]
|
|
for (var [num, strBoolSym] of array) {
|
|
num;
|
|
strBoolSym;
|
|
} |