let's see I have an array like let filterData= [[1,2,3],[x,y],[z,10]]
Have to make it in single line or in single array as an output: this.filterData= [ 1,2,3,x,y,z,10];
how can I achieve this in Javascript or typescript language.
anyone have a solution of it..please suggest
`if (this.data && this.data.length > 0) {
this.filteredData.push(this.data[index].value);
this.filteredData.push(this.filteredData);
console.log(this.filteredData)
}`