Learn Basic String and Array Methods by Building a Music Player - Step 76

Tell us what’s happening:

Your code so far

In step 76 you will have to use

userData.currentSong = null;
userData.songCurrentTime = 0;
pauseSong();
setPlayerDisplay();

instead of
userData?.currentSong = null;
userData?.songCurrentTime = 0;
pauseSong();
setPlayerDisplay();

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.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

Challenge Information:

Learn Basic String and Array Methods by Building a Music Player - Step 76

please make the question clear Thanks.

This is not a question.

hes not putting a question he is just clarifying that there has been a typo at step 76, as he says U have to use userData. not UserData? as you are being told initially , it could be a typo or us not yet understanding when to use the “?” mark when it comes to these types of values , I believe in this case it should not be used because the value set is already null and 0 so u dont need it