Stdle #1 · 2026-06-07
What does this log?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
package main import "fmt" func f() (n int) { defer func() { n *= 3 }() defer func() { n += 1 }() return 2} func main() { fmt.Println(f())}Defer