From 4621912b8cfe5daf9c7cf049a766804a6ee1702b Mon Sep 17 00:00:00 2001 From: DANIEL PAUL SEMINARA Date: Wed, 5 May 2021 17:46:06 +0000 Subject: [PATCH] Done. --- objects.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/objects.js b/objects.js index e69de29bb..1961bc266 100644 --- a/objects.js +++ b/objects.js @@ -0,0 +1,9 @@ +var playlist = {"Meat Loaf": "Seize the Night"} + +function updatePlaylist(playlist, artistName, songTitle) { + playlist[artistName] = songTitle } + +function removeFromPlaylist(playlist, artistName) { + delete playlist[artistName] + return playlist +} \ No newline at end of file