concat()
Example
let arr1: string[] = [ 'hello' ];
let arr2: string[] = [ 'world' ];
let arr3: string[] = arr1.concat( arr2 );
console.log( arr3 ); // Output: ["hello", "world"]Last updated
let arr1: string[] = [ 'hello' ];
let arr2: string[] = [ 'world' ];
let arr3: string[] = arr1.concat( arr2 );
console.log( arr3 ); // Output: ["hello", "world"]Last updated