merge arrays typescript code example
Example 1: angular append array to another
this.results = [ ...this.results, ...data.results];
Example 2: typescript list concat
var alpha = ["a", "b", "c"];
var numeric = [1, 2, 3];
var alphaNumeric = alpha.concat(numeric);
console.log("alphaNumeric : " + alphaNumeric );