Created
          April 6, 2018 03:18 
        
      - 
      
- 
        Save zoonderkins/de45d633b675f1e0e1d244b49d1a7c1d to your computer and use it in GitHub Desktop. 
    [Await samples] Some sample for await #javascript
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | await fetch('https://api.github.com/users/wesbos').then(data => data.json()) | |
| OR | |
| await (await fetch('https://api.github.com/users/wesbos')).json() | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment