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