Created
          July 30, 2021 17:13 
        
      - 
      
- 
        Save alibalbars/3d6388ddafe77177f7e37ec570545816 to your computer and use it in GitHub Desktop. 
  
    
      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
    
  
  
    
  | new Promise(function(resolve, reject) { | |
| setTimeout(() => { | |
| throw new Error("Whoops!"); | |
| }, 1000); | |
| }).catch(alert); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment