equal
  deleted
  inserted
  replaced
  
    
    
|      5 // regex: (a*)*b |      5 // regex: (a*)*b | 
|      6 // strings: aa... |      6 // strings: aa... | 
|      7 // |      7 // | 
|      8 // call with: |      8 // call with: | 
|      9 // |      9 // | 
|     10 //  $> catastrophic.js 20 |     10 //  $> ./catastrophic.js 20 | 
|     11 // |     11 // | 
|     12 // call with timing as: |     12 // call with timing as: | 
|     13 // |     13 // | 
|     14 //  $> time catastrophic.js 25 |     14 //  $> time ./catastrophic.js 25 | 
|     15  |     15  | 
|     16  |     16  | 
|     17 const args = process.argv[2] |     17 const args = process.argv[2] | 
|     18  |     18  | 
|     19 var str = 'a'.repeat(args); |     19 var str = 'a'.repeat(args); |