SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. stdout.split('/n').forEach((element, index, arr) => {
  2.     if(index%2 == 0){
  3.       console.log(element);
  4.       if(element.search(regstate) != -1){
  5.         console.log('A');
  6.         if(element.search(regletterW) != -1){
  7.           console.log('A');
  8.           if(element.search(regUP) != -1){
  9.             console.log('A');
  10.           }else if(element.search(regDOWN) != -1){
  11.             console.log('B');
  12.           }
  13.         }
  14.       }
  15.     }
  16.   })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top