`map[key] = (map[key]?:0) + 1`
# announcements
c
map[key] = (map[key]?:0) + 1
r
That can have unexpected results if the map values can be nullable, which is why
getOrDefault
is recommended.