Skip to content

Instantly share code, notes, and snippets.

@cyancey76
Created March 16, 2019 07:51
Show Gist options
  • Save cyancey76/948c010adf69f2f21e62f86a141e83ee to your computer and use it in GitHub Desktop.
Save cyancey76/948c010adf69f2f21e62f86a141e83ee to your computer and use it in GitHub Desktop.
ES6 remove duplicate array values
uniq = [...new Set(array)];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment