github.com/gmemcc/yaegi@v0.12.1-0.20221128122509-aa99124c5d16/_test/map20.go (about) 1 package main 2 3 var a = map[int]bool{1: true, 2: true} 4 5 func main() { 6 println(a[1] && true) 7 } 8 9 // Output: 10 // true