Gets the value on map for the given key if it exists, otherwise sets [key] to defaultValue, returning the newly set value.
defaultValue
Gets the value on map for the given key if it exists, otherwise sets [key] to
defaultValue, returning the newly set value.