set it to the current song of userData , or the first song in the userData?.songs array.
“the current song of userData” is not the whole of userData. Look above at the shape of userData.
the other is “the first song in the userData?.songs array”
it can be null, true, that’s why there are two options with the OR operator. It’s not always null because other code changes tbe value of the property.
You need to write the code to access that value tho
Read the instructions carefully:
create a song constant and use the OR operator (||) to set it to the current song of userData, or the first song in the userData?.songs array.
It’s aren’t asked to add the required values within an array []. Because it’s already in an array within an object called userData on line number 82.