Stdle #13 · maps · 2026-06-19
What does this Go snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
package main import "fmt" func main() { m := map[string]int{} v, ok := m["new"] m["new"] = v + 10 fmt.Println(ok, m["new"])}Maps