title: Promise.all returns function
body: <p>I would like use Async/Await with fetch API. So, i've 2 async function for <code>return result.json()</code>.</p>
  
  <p>I add my 2 Promise in <code>Promise.all([])</code>, but the values returned is 'function()'.</p>
  
  <p>My code :</p>
  
  <pre><code>  // Load external users
    const externalUsers = async () =&gt; {
      const result = await fetch(url);
      return result.json();
    };
  
    const localUsers = async () =&gt; {
      const result = await Users.allDocs({ include_docs: true });
      return result.rows;
    };
  
    Promise.all([externalUsers, localUsers]).then(values =&gt; {
      console.log(values); // return (2) [function, function]
    });
  </code></pre>
  
  <p>I don't understand why. Can you help me ?</p>
  
  <p>Thank you community !</p>