function concatenateArrayItems(array){ return array.reduce((olditem, newitem)=> olditem +""+ newitem);} time complexity code example
Example: .reduce mdn
arr.reduce(callback( accumulator, currentValue[, index[, array]] )[, initialValue])
arr.reduce(callback( accumulator, currentValue[, index[, array]] )[, initialValue])