Objects/maps
An object/map is a set of key value properties.
Defining a new map
Creating a map using existing values
Adding new fields to a map
We can utilise the spread ...
operator here.
Set "name" = "Tom"
regardless of what is in the map already:
Set "name" = "Tom"
only if it doesn't already exist in the map:
Last updated