Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyGomaps and iterationSingle-choice MCQ

You range over a Go map and print the keys. What is guaranteed about the order of keys across separate runs of the program?

m := map[string]int{"a": 1, "b": 2, "c": 3} for k := range m { fmt.Println(k) }