Skip to content

Instantly share code, notes, and snippets.

@lukesh
Created January 29, 2010 16:19
Show Gist options
  • Save lukesh/289857 to your computer and use it in GitHub Desktop.
Save lukesh/289857 to your computer and use it in GitHub Desktop.
newSelectedItems.filter(function (e:*, i:int, a:Array) : Boolean {
return a.indexOf(e,i + 1) == -1;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment