title: await is a reserved word error in Expo XDE for React Native
body: <p>Right to the point:</p>
  
  <p>I'm using Expo XDE with react-native to build a cross-platform mobile app.</p>
  
  <p>I want to save and retrieve a couple of variables using AsyncStorage ("localstorage" alternative in react-native).</p>
  
  <p>After adding the pieces of code to store and retrieve, </p>
  
  <p><a href="https://i.stack.imgur.com/WvSTS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WvSTS.png" alt="enter image description here"></a></p>
  
  <p>Expo XDE is showing the following error when building the JavaScript bundle: <em>"await is a reserved word"</em></p>
  
  <p><a href="https://i.stack.imgur.com/yDuE5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yDuE5.png" alt="enter image description here"></a></p>
  
  <p>According to the documentation (<a href="https://facebook.github.io/react-native/docs/asyncstorage.html" rel="nofollow noreferrer">https://facebook.github.io/react-native/docs/asyncstorage.html</a>), I got to use "await" when accessing AsyncStorage.</p>
  
  <p>Any ideas? Is it a problem related to Expo XDE only?</p>
  
  <p>Thanks!!</p>