I just finished this one last night.
you delete function wont actually delete the item “I don’t think” check out the delete function in the javascript documentation.
link goes here if the forum will let me put one some day
I don’t think you want to be recalling the update records function this isn’t a recursive solution. additionally your brackets are not in order and you have open functions.
@ ieahleen I tested the code in Chrome’s console. I called the various updates (copied and pasted from the instructions) and got all the correct results. For example, the instructions say
After updateRecords(5439, "artist", "ABBA") , artist should be "ABBA"
Using my code, when I called updateRecords(5439, "artist", "ABBA") , I verified by console.log(collection[5439]["artist"] and I got "ABBA"