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