[1,1,4,3,6,6,7].filter((number, index, arr) => arr.indexOf(number) === index)
Created
July 27, 2018 06:42
-
-
Save skellertor/3a997564fe72b2e0c1c4cabf69b7cd9a to your computer and use it in GitHub Desktop.
dedupe an array
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment