new method on ExtendedMap in map.ts:
update- applies a transformation function to a given map entry- can insert new values if an entry doesn't exist yet (transformation function will be given an
undefinedvalue) - can delete existing values if transformation function returns
undefined
- can insert new values if an entry doesn't exist yet (transformation function will be given an