Okay, so im trying to print the trackName in this json object: https://pastebin.com/raw/KfEDtRPY. but i just cant seem to find out the right properties. i tried doing:
console.log(res.text.results[0].trackName);
but it just gives me this error:
TypeError: Cannot read property '0' of undefined
and by the way, to get that json object i did console.log(res.text);
i just cant seem to find the correct way to print JUST trackName.
Thanks in advance.
NOTE: I'm using superagent if that's any help.