2024-11-05 10:07:40 +08:00

5 lines
94 B
TypeScript

export function addMapEntry(map: any, pair: any) {
map.set(pair[0], pair[1])
return map
}