Created
          August 6, 2020 08:41 
        
      - 
      
 - 
        
Save mittalyashu/e3c85b5771a13272650c3634a9d0602d to your computer and use it in GitHub Desktop.  
    Random ID generator
  
        
  
    
      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
    
  
  
    
  | exports.idGenerator = () => { | |
| return ( | |
| Math.random() | |
| .toString(32) | |
| .substr(2) + | |
| Math.random() | |
| .toString(32) | |
| .substr(2) | |
| ); | |
| }; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment