There are multiple arrays
[1,2,3][2,3,4][2,4,5]
Now I want to get the values that contain in all arrays. In this example it would be [2]. Is there an easy way to do this?
I tired https://stackoverflow.com/a/14438954/639035 however, if I try it with three arrays after each other, I get wrong results (4 would be included).
Update Posted answer works, the error was in another part of my code