From 0e22242fba8a521233a5cfbc18214bdc45168785 Mon Sep 17 00:00:00 2001 From: Rose Martus Date: Sat, 27 Mar 2021 17:35:56 +0000 Subject: [PATCH] Done. --- objects.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/objects.js b/objects.js index e69de29bb..7441f7318 100644 --- a/objects.js +++ b/objects.js @@ -0,0 +1,9 @@ +var playlist = new Object({JukeBox: 'Fred Astaire'}) + +function updatePlaylist(playlist, artistName, songTitle){ + playlist[artistName] = songTitle +} + +function removeFromPlaylist(playlist, artistName){ + delete playlist[artistName] +}