Created
March 28, 2019 05:06
-
-
Save rcdexta/35b5b2dabc5da7f1a1ef276b8126d980 to your computer and use it in GitHub Desktop.
unique elements
This file contains hidden or 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
| var elements = [1,2,3,1,2,4,2,3,5,3] | |
| _.uniq(elements) | |
| [...new Set(elements)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment