Loop through map

const numFreq = new Map();
for (let [key, value] of numFreq) {}