Closed djulien closed 8 years ago
Made songs parameter to constructor optional, since there is also an .add method that can be used to add songs to the play list before it is played.
(was getting "TypeError: Cannot read property 'length' of undefined" because ctor returned prematurely)
Thank you
Made songs parameter to constructor optional, since there is also an .add method that can be used to add songs to the play list before it is played.
(was getting "TypeError: Cannot read property 'length' of undefined" because ctor returned prematurely)