Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 6th, 2010  |  syntax: JavaScript  |  size: 0.10 KB  |  views: 161  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. for ( x = 0; x < origLen; x++ ) {
  2.     if ( newArr.indexOf(origArr[x]) == -1 ) newArr.push(origArr[x]);
  3. }
clone this paste RAW Paste Data