daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(locations!=null && locations.length>0) {
  2.         locations = locations.reduce(function(a,b){
  3.             if(a.indexOf(b)<0) {
  4.                 if(b!=null) {
  5.                     a.push(b);
  6.                 }
  7.             }
  8.             return a;
  9.             },[]
  10.         );
  11.         if(locations!=null && locations.length>0) {
  12.             fe.push("AND",["custcol_tc_trans_po_store","anyof",[].concat(locations)]);
  13.         }
  14.     }
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