`for ((index, entry) in map.entries.withIndex()) {...
# getting-started
k
for ((index, entry) in map.entries.withIndex()) { ... }
would work if you really need it.