Skip to content

Instantly share code, notes, and snippets.

@cancerberoSgx
Created May 29, 2018 05:29
Show Gist options
  • Save cancerberoSgx/d138fd191dcf52f491ec57630c45fbac to your computer and use it in GitHub Desktop.
Save cancerberoSgx/d138fd191dcf52f491ec57630c45fbac to your computer and use it in GitHub Desktop.
array union in chained method call with standards and non new func decls
arr1.concat(arr2).filter((value, pos, arr)=>arr.indexOf(value)===pos)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment