← Back to archive

Stdle #83 · interfaces · 2026-08-28

What does this Go snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

package main
import "fmt"
func main() {
var a interface{} = [2]int{1, 2}
var b interface{} = [2]int{1, 2}
fmt.Println(a == b)
}
Interfaces
4 attempts left

Answer & explanation