title: Axios console.log data but return Promise <pending>
body: <p>I've trying to retrieve the data, but I can't return it, can only see it in the console,
  it's a simple axios get function but for some reason, I keep getting Promise  even after using async/await.</p>
  <p>my goal is to save the data to the memory.</p>
  <p>any help would really be appreciated</p>
  <pre><code>    let fetchTodo = async () =&gt; {
      
          await axios.get('https://jsonplaceholder.typicode.com/todos/1')
              .then(res =&gt; console.log(res.data))
              .then(res =&gt; { return res })
              .catch(err =&gt; console.log(err))
      };
  
  console.log(&quot;TEST: &quot;, fetchTodo())
  </code></pre>
  <p><a href="https://i.stack.imgur.com/Ta1ZT.png" rel="nofollow noreferrer">console</a></p>