title: How to make fetch promise resolve without using .then syntax?
body: <p>First things first, I made sure to write a quick demo of the issue I'm talking about here <a href="https://codesandbox.io/s/exciting-swirles-7cs3s" rel="nofollow noreferrer">https://codesandbox.io/s/exciting-swirles-7cs3s</a></p>
  <p>But essentially, using the <code>isomorphic-fetch</code> library, I'm running into an issue where I can't really get the value, or you might say, resolution, of the <code>fetch()</code> function.</p>
  <pre class="lang-js prettyprint-override"><code>import fetch from &quot;isomorphic-fetch&quot;;
  
  async function test() {
    return await fetch(&quot;https://google.com&quot;, { mode: &quot;no-cors&quot; });
  }
  
  let t = test();
  console.log(t);
  </code></pre>
  <p>The outcome of which is</p>
  <p><a href="https://i.stack.imgur.com/rju91.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rju91.png" alt="enter image description here" /></a></p>
  <p>Now I've also considered the other way of using <code>fetch()</code> like this</p>
  <pre class="lang-js prettyprint-override"><code>fetch(&quot;https://google.com&quot;, { mode: &quot;no-cors&quot; })
    .then(response =&gt; response.text())
    .then(data =&gt; console.log(data));
  </code></pre>
  <p>which actually delivers a string, but I prefer doing it the first way, if possible? It's also very possible I'm not using fetch correctly.</p>