diff --git a/objects.js b/objects.js index e69de29bb..093ebbf5f 100644 --- a/objects.js +++ b/objects.js @@ -0,0 +1,11 @@ +var playlist = {adele: "hello"}; + +function updatePlaylist(playlist, artistName, songTitle) { + playlist[artistName] = songTitle + return playlist +} + +function removeFromPlaylist(playlist, artistName) { +delete playlist.Slowdive; +return playlist +}