app script append two list

output.concat(titles);
output = output.concat(titles);