Skip to content

Commit cc32722

Browse files
committed
1 parent 33ca68e commit cc32722

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

oojs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ class Playlist {
1919
// #2: Create an instance of the Playlist class and set it to a variable called `myPlaylist`
2020
// Call the instance's `addSong` method to add a song to the instance's `songs` array
2121
// Type your solution immediately below this line:
22+
var myPlaylist = new Playlist("Zep");
23+
myPlaylist.addSong("When the Levee Breaks");
2224

2325
// NOTE: THE CODE BELOW IS FOR TESTING PURPOSES. DO NOT REMOVE OR ALTER.
2426
if (typeof Playlist !== "undefined") {

0 commit comments

Comments
 (0)