I made this function to filter in deep an array of object, but at the end the result is empty. If i check with console.log inside the if statement , it show me filtered object, but resultPost return me empty value. I also tryed to push inside an empty array the filtered value, but not work.

```js
const post = [{
    "name": "new post",
    "description": "simple desc",
    "taxonomies": {
      "categories": {
        "0": {
          "term_id": 15
        },
        "1": {
          "term_id": 20
        },
      }
    }
  },
  {
    "name": "new post 2",
    "description": "simple desc 2",
    "taxonomies": {
      "categories": {
        "0": {
          "term_id": 11
        },
        "1": {
          "term_id": 12
        },
      }
    }
  }
];

const filterID = [15, 1];

const resultPost = post.filter(post => {
  if ((post.taxonomies.categories.filter(postct => postct.term_id === filterID)).length > 0) return post
});

console.log(resultPost);
```