title: "await is a reserved word" when converting a promise to an await call
body: <p>I have the following code that works ok:</p>
  
  <pre><code>// api.js
  export default {
      async readAsync (resource) {
          await new Promise(r =&gt; setTimeout(r, 400));
          return data[resource];
      },
  }
  
  // ProductList.vue
  import api from '@/services/api'
  
  [...]
  
    methods: {
      fetch () {
        this.loading = true;
        api.readAsync('products').then(data =&gt; {
          this.products = data;
          this.loading = false;
        });
      }
    }
  
  [...]
  </code></pre>
  
  <p>I want to use await to get rid of the promise, like this:</p>
  
  <pre><code>  methods: {
      fetch () {
        this.loading = true;
        this.products = await api.readAsync('products');;
        this.loading = false;
      }
    }
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <pre><code>Module build failed (from ./node_modules/babel-loader/lib/index.js): 
  SyntaxError: D:\devel\apps\vue-tests\cli-test\src\components\ProductList.vue: await is a reserved word (59:22)
    57 | this.loading = true;
    58 | 
  &gt; 59 | this.products = await api.readAsync('products');; 
       |                 ^ 
    60 | this.loading = false;
  </code></pre>
  
  <p>Any idea what could I be doing wrong?</p>