Skip to content

Instantly share code, notes, and snippets.

@sayz
Created October 14, 2010 14:56
Show Gist options
  • Save sayz/626307 to your computer and use it in GitHub Desktop.
Save sayz/626307 to your computer and use it in GitHub Desktop.
a = [1,2,3,4,5]
=> [1, 2, 3, 4, 5]
b = [2,3,6]
=> [2, 3, 6]
a + b
=> [1, 2, 3, 4, 5, 2, 3, 6]
a - b
=> [1, 4, 5]
a | b
=> [1, 2, 3, 4, 5, 6]
a & b
=> [2, 3]
@roktas
Copy link

roktas commented Oct 14, 2010

süper! a + b ile a | b farkı hoş gerçekten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment