Skip to content

Instantly share code, notes, and snippets.

@Jessmaxim303
Created May 15, 2019 02:24
Show Gist options
  • Save Jessmaxim303/19ad432fd759ad08da07d92dac9d63ce to your computer and use it in GitHub Desktop.
Save Jessmaxim303/19ad432fd759ad08da07d92dac9d63ce to your computer and use it in GitHub Desktop.
playlist object
Object: Summer Jam
Attributes:
Genre: ["rock", "pop", "90s"]
MP3 (boolean): yes
numberOfSong (integer): 25
artist (array): ["backstreet boys", "jay-z"]
methods:
addSing (increases number of song): 25+1
songs_Remaining (sub track number of songs from total): 25-current song
time_Remaining (subtracks over all length): 23-25
currentSong (minus total from current time): 1235 - 930
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment