Last active
September 22, 2017 23:12
-
-
Save vielhuber/7dd0974134938d9e2eac to your computer and use it in GitHub Desktop.
sorting out duplicates in array #js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array = $.grep(array, function(v, k){ return $.inArray(v ,array) === k; }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment