SHARE
TWEET

Untitled

a guest Nov 19th, 2019 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var resultRepairAndPMIds = [];
  2.  
  3. for (var i = 0; i < resultRepair.length; ++i) {
  4.     resultRepairAndPMIds.push(resultRepair[i].Id);
  5. }
  6.  
  7. for (var j = 0; j < resultPM.length; ++j) {
  8.     resultRepairAndPMIds.push(resultPM[j].Id);
  9. }
  10.  
  11. resultRepairAndPMIds = resultRepairAndPMIds.filter((x, i, a) => a.indexOf(x) === i);
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