Different methodologies can be applied in computer science for finding the common features of many vectors (or arrays) across different programming languages.
Example vectors
A <- c(1,3,5,7,9)
B <- c(3,6,8,9,10)
C <- c(2,3,4,5,7,9)
Finding common elements
common_elements <- Reduce(intersect, list(A,B,C))
print(common_elements) # Print outputs common elements 3 9
One of the possible solutions for doing this is turning to sets or array functions (for example filter in JavaScript).