title: Fetch API's json is printing undefined?
body: <p>Trying to fetch from the API in JS and my returned JSON is returning undefined? And yes, it is valid JSON, although console.loging the data shows me undefined?</p>
  
  <pre><code>function getVideos(playlistId) {
      console.log(
          getJsonResponse(composeArguments(API_RESOURCE, API_KEY, playlistId))
      );
  }
  
  
  function composeArguments(apiResource, apiKey, playlistId, maxResults = 50) {
      return (
          apiResource +
          "?key=" +
          apiKey +
          "&amp;part=snippet&amp;playlistId=" +
          playlistId +
          "&amp;maxResults=" +
          maxResults);
  }
  
  function getJsonResponse(url) {
      fetch(url).then((response) =&gt; {
          if (response.status !== 200) {
              console.log('Looks like there was a problem. Status Code: ' + response.status);
              return;
          }
  
          response.json().then((data) =&gt; {
              return data;
          });
      }).catch(function (err) {
          console.log('Fetch Error :-S', err);
      });
  
  }
  
  
  
  
  getVideos(PLAYLIST_ID);
  </code></pre>