I have a JavaScript array like:

```
[["$6"], ["$12"], ["$25"], ["$25"], ["$18"], ["$22"], ["$10"]]

```

How would I go about merging the separate inner arrays into one like:

```
["$6", "$12", "$25", ...]

```