Why the output of this code is nondeterministic? Go Playground <https://play.golang.org/p/XlAREjRzB1_3>
package main import ( "fmt" ) func main() { series := make(map[int]int) series[0] = 0 i := 1 for k, v := range series { fmt.Println(k, v) if i < 10 { series[i] = i } i++ } } (There is no implication in this question, regarding how maps, or for loops ranging over them, should behave. I'm just trying to understand) -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/8f0752c4-bdb5-4b71-895b-a0ed56d89596%40googlegroups.com.