iterate over a map in javascript code example Example: js loop trough map for (let key of map) { console.log(key); }