IT
IT Tools
Handy online tools for developers
Cheatsheets
Search tools
⌘K
EN
All quizzes
Go
Core
Multiple choice
A.
It prints `0 0` — reading a missing key returns the value type's zero value, and len is 0
B.
It panics with 'assignment to entry in nil map'
C.
It prints `<nil> 0` because the map itself is nil
D.
It is a compile-time error to index a nil map
Submit
Open the cheat sheet
Previous
Next