can't join the strings: please help
export const formatTaskList = (tasks) => {
for(let i=0 ; i<=tasks.lenght ; i++){
if(tasks.status == 'DONE'){
tasks.title = tasks.title + '\u2705';
}
if(tasks.status == 'IN_PROGRESS'){
tasks.title = tasks.title + '\u274c';
}
}
return tasks;
}