google script concatenate array code example Example: app script append two list output.concat(titles); output = output.concat(titles);