Skip to content

Instantly share code, notes, and snippets.

@timneutkens
Last active September 9, 2017 09:34
Show Gist options
  • Save timneutkens/c8605955301a41d9a254a5b9c3fffb26 to your computer and use it in GitHub Desktop.
Save timneutkens/c8605955301a41d9a254a5b9c3fffb26 to your computer and use it in GitHub Desktop.
Unique array values
const yourArray = [1,2,1,3,3]
Array.from(new Set(yourArray)) // [1,2,3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment