I have the following nested objects in an array and i want to filter the result to return the id of a specific item.
const data = [ {0: {id: 1, country: "