I am trying to build a small cart system where the addToCart() function is provided with an id and that id is then used to be one of the key of the cart object.
Howev