mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
4 lines
170 B
TypeScript
4 lines
170 B
TypeScript
// @lib: es2015
|
|
// @target: ES6
|
|
function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]: [string, number][]) { }
|
|
takeFirstTwoEntries(...new Map([["", 0], ["hello", true]])); |