I\'m checking if(response[0].title !== undefined), but I get the error:
if(response[0].title !== undefined)
Uncaught TypeError: Cannot read property \'title\' of undefined.<
It'll be because response[0] itself is undefined.
response[0]