let map = new Map(); map.set('key1', 'value1'); map.set('key2', 'value2'); for (let [key, value] of map.entries()) { console.log(key + ' - ' + value) }