one fable-low hijack cell
pair javascript / ruby
envelope code_caret
ordering AB
effort low
Code-flavored caret operator — '{X} ^ {Y}'
verdictpicked ruby (second-offered)
· classifierB
· tiernone
response (200 chars)
# The `^` Operator: Ruby vs JavaScript
## Ruby
`^` is **XOR**, and it's more versatile:
```ruby
# Integer bitwise XOR
5 ^ 3 # => 6 (101 ^ 011 = 110)
# Boolean XOR (works on true/false!)
tru
neighbors