// PREDICT the output before running. Then: go run . — and try with an older // toolchain mentally: what did this print before Go 1.22? package main import ( "fmt" "sync" ) func main() { var wg sync.WaitGroup for i := 0; i < 3; i++ { wg.Add(1) go func() { defer wg.Done() fmt.Println(i) }() } wg.Wait() }