### `concat`

###### sync

```ts
function concat<T>(
    iterables: Array<Iterable<T>>,
): Iterable<T>
```

###### async

```ts
function concat<T>(
    asyncIterables: Array<AsyncOrSyncIterable<T>>,
): AsyncIterable<T>
```

The `concat` function takes 1 or more iterables and returns a new iterable that when iterated will emit all items from the first iterable, then all items from the second iterable, etc.

```js
import concat from '@jx/iter/sync/concat.mjs'

const newSeq = concat([1,2,3], [4,5,6])
Array.from(newSeq) // [1,2,3,4,5,6]
```
