Skip to content

Instantly share code, notes, and snippets.

@mrded
Created January 15, 2015 12:49
Show Gist options
  • Save mrded/c481ccc9b3632459f5f9 to your computer and use it in GitHub Desktop.
Save mrded/c481ccc9b3632459f5f9 to your computer and use it in GitHub Desktop.
JS: Remove Duplicates from JavaScript Array
jobtypes = jobtypes.filter(function(item, pos, self) {
return self.indexOf(item) == pos;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment