Typescript New Array Javascript Append Text