Q:

find common array ruby

[1, 2, 3] & [2]
=> [2]

["foo"] & ["bar"]
=> []
0

New to Communities?

Join the community