title: Unexpected identifier 'axios'. import call expects exactly one argument
body: <p>Here is my js code:</p>
  
  <pre><code>import axios from 'axios';
  
  const quotes = document.querySelector('.quotes');
  
  const getResults = async () =&gt; {
  
      try {
  
          const res = await axios('http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&amp;filter[posts_per_page]=1');
  
          quotes.innerHTML = res.data[0].content;
  
          console.log(res.data[0].content);
  
      } catch(err) {
  
          console.log(err);
  
      }
  
  }
  getResults();
  </code></pre>
  
  <p>It yields the following error: <code>Unexpected identifier 'axios'. import call expects exactly one argument</code>.
  I am running it in browser and I am not using any bundler, any idea on why this is happening?</p>