I am executing a query in my database, which returns a JavaScript object, containing multiple child objects. I am supposed to find a specific key value pair, but I am unsuccessful with retrieving this data.

I have tried to push the results into an empty array, like so:

```
const query = []
...
query.push(result[0].name)
query.push(result[0].token)
console.log(query)   // returns ['Walther', 'abcdef']

```

This works fine, but involves hard coding the wanted query. I'd like to perform a query in a more dynamic way, by using `token` as a variable for a search query in the entire object.

The object that is being used, has the following format:

```
{
 '0': 
   { token: 'abcdef', name: 'Walther' },
 '1':
   { token: 'ghijkl', name: 'Peter' },
 '2':
   { token: 'mnopqr', name: 'David' },
 '3':
   { token: 'stuvwx', name: 'Paul' },
  // etc.
}

```

The question is: How would I find the responding value for a specific token in this JavaScript object?