← Back to archive

Stdle #8 · 2026-06-14

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 = 99 }()
return 1
}
func main() {
fmt.Println(f())
}
Defer
4 attempts left

Answer & explanation