you are calling playsong with the literal string "id === userData?.song[0]"
first, the function is playSong
second, you are asked to pass in the id of one of the songs, not a comparison.
What about userData?.song[0]? userData doesn’t have a song property, it has a songs property. Fixing that userData?.songs[0] is the first song, not the id of the first song, you would still need to get the id of that.