# map的初始化 下面代码运行是否会报错? ```Go func main() { var employeeSalary map[string]int employeeSalary["steve"] = 12000 fmt.Println(employeeSalary) } ``` ## 答案 报`assignment to entry in nil map` ## 选项 ### A 输出 `nil` ### B 输出 `map[steve:12000]` ### C 输出 1200