14 lines
244 B
TypeScript
14 lines
244 B
TypeScript
|
//@noUnusedLocals:true
|
||
|
|
||
|
function f() {
|
||
|
for (const [_a, b] of [['key', 1]]) {
|
||
|
console.log(b);
|
||
|
}
|
||
|
|
||
|
for (const [a, _b] of [['key', 1]]) {
|
||
|
console.log(a);
|
||
|
}
|
||
|
|
||
|
for (const [_a, _b] of [['key', 1]]) {}
|
||
|
}
|