I am trying to merge two arrays data in one array format but getting empty array how to solve this please help me out this.

```
array1= ["hjghh", "hjghhs", "hjghhsjj"]
    0:
    0:"hjghh" 
    1:"hjghhs"
    2:"hjghhsjj"
    array2=["data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD","data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD","data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD"]
    0:
    0: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD"
    1: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD"
    2: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD"

```

in array3 I want to display like this

```
    0:
    0:["hjghh","data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD"]
    1:["hjghhs","data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD"]
    2:["hjghhsjj","data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD"]

```

`this.barcodetextone` is 1st array  

`this.ShowImgoriginal` is 2nd array 

```
let arr3:any=[];
this.barcodetextone.forEach((i) => {
    arr3.push(Object.assign({}, this.ShowImgoriginal[i]));
});

console.log(arr3);

```