Skip to content

Instantly share code, notes, and snippets.

@puiutucutu
Last active December 29, 2017 19:02
Show Gist options
  • Save puiutucutu/63f095c6a1d50c2f45419c2fc9715d09 to your computer and use it in GitHub Desktop.
Save puiutucutu/63f095c6a1d50c2f45419c2fc9715d09 to your computer and use it in GitHub Desktop.
Unique array values
const unique = dataset.filter((v, i, arr) => arr.indexOf(v) === i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment