Javascript – Keeping track of all history of audio player (previous, next buttons and random selection from browser)
I need to keep track of all history of which songs have been played with audio player. The difficult part is when user continuously clicks on next and previous button. Testing data (songs): export const tracksData = [ { name:…