They asked to create a nextSongExists constant that checks if a next song exists by using: userData?.songs[currentSongIndex + 1] !== undefined, but I have tried several ways and still don’t understand what is wrong :') Please help ;;;;
Your code so far
WARNING
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
The error message: You should check if a next song exists with userData?.songs[currentSongIndex + 1] !== undefined and set it to a nextSongExists constant.