title: Using Fetch with Google Places API
body: <p>Hi this is likely a very rookie mistake, but does anyone know why this is console.logging undefined? When i submit url to browser I get valid json response. Thanks</p>
  
  <pre><code>      fetch('https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=[API KEY HERE]&amp;location=49.246292,-123.116226&amp;radius=500000')
          .then((resp) =&gt; {
            resp.json();
          })
          .then((data) =&gt; {
            console.log(data);
          })
          .catch(err =&gt; console.error(err));
  </code></pre>