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