chaitanya the mistake is here:
tasks = '\u2705' + ' ' + 'title: ' + tasks.title;
tasks
is an array, tasks[0]
is the first element of this array, tasks[1]
is the second one, and so on.
Try working with tasks[i]
as it holds the array element you're interested in.