Access value in object with . in it's name : <p>So I'm playing around with creating a Facebook chatbot. In order to talk to Facebook I need to validate I have ownership of the URL I give Facebook in the Webhooks panel.</p>

<p>I have an express route that looks like</p>

<pre><code>app.get('/api/verification', (req, res) =&gt; {
  // Send back hub.challenge
});
</code></pre>

<p>So in the <code>req</code> object I get back from Facebook it looks like:</p>

<pre><code>{ 'hub.mode': 'subscribe',
   'hub.challenge': '178462834',
   'hub.verify_token': 'my_verify_token' }
</code></pre>

<p>In order to get to this I <code>console.log</code> out <code>req.query</code> and get this back. But I can't then go <code>req.query.hub.challenge</code> because I'll get <code>undefined</code> since <code>hub.challenge</code> is the value name.</p>

<p>How do I access the value if it's got a . in it's name?</p>
