title: How to return an Ajax result using async/await?
body: <p>Trying to get familiar with <code>async/await</code>, I've tried the following code in Chrome:  </p>
  
  <pre><code>async function f() { 
       return await $.get('/');
  };
  var result = f();
  </code></pre>
  
  <p>but <code>result</code> doesn't hold the result (string); rather it holds a <code>Promise</code> which needs to be awaited again. This code does give me the response string:  </p>
  
  <pre><code>var response = await $.get('/');
  </code></pre>
  
  <p>How can I return the actual response string from a function using await?  </p>