Created
          July 30, 2021 16:59 
        
      - 
      
 - 
        
Save alibalbars/0f98db8aff43e6cfccfcf8da7a430420 to your computer and use it in GitHub Desktop.  
    Js Promises
  
        
  
    
      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
    
  
  
    
  | let promise = new Promise(function(resolve, reject) { | |
| setTimeout(() => resolve("done"), 1000); | |
| }); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment