I have an array, which contains array of objects. I need to extract the property value "id" of items that have objects.

Example of array:

```
let myArray = [
    [ {id: "1"}, {id: "2"} ],
    [],
    [],
    [ {id: "3"} ]
]

```

How can I extract and create an array like this:

```
["1", "2", "3"]

```

I tried this:

```
tagIds = myArray.map(id =>{id})

```