Access map element (that does not exist)



examples/access-map-element/access_map_element.go
package main

import "fmt"

func main() {
    grades := make(map[string]int)

    grades["Mary"] = 99
    grades["Joe"] = 0
    fmt.Println(grades["Mary"])
    fmt.Println(grades["Joe"])
    fmt.Println(grades["Jane"])

}

99
0
0