I have two arrays `A` and `B`, both of which contain lots of elemets and look like this:

```
var A = ["A", "B", "C", "D"];
var B = [1, 2, 3, 4];

```

Now I want an array `C` that "merges" `A` and `B` by concatenating them in alternating sequence so that

```
C = ["A", 1, "B", 2, "C", 3, "D", 4]

```

I tried this:

```
for (var i = 0; p < 3; i++) {
    C = A[i].concat(B[i])
}

```

But this results in `C = "D4"`.

How can I achieve that I merge two arrays in by alternately choosing one element of each array?