Skip to content

Instantly share code, notes, and snippets.

@stevez
Created May 3, 2015 03:26
Show Gist options
  • Save stevez/a68815d7e56dad640a9c to your computer and use it in GitHub Desktop.
Save stevez/a68815d7e56dad640a9c to your computer and use it in GitHub Desktop.
intersection
[1,2,3,4].intersect([2,4])
//===> [2, 4]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment