mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
3 lines
147 B
TypeScript
3 lines
147 B
TypeScript
|
//@target: ES6
|
||
|
function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]: [string, number][]) { }
|
||
|
takeFirstTwoEntries(new Map([["", 0], ["hello", 1]]));
|