Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intersection #2

Open
jalalazimi opened this issue Jul 11, 2020 · 0 comments
Open

intersection #2

jalalazimi opened this issue Jul 11, 2020 · 0 comments

Comments

@jalalazimi
Copy link
Member

Description:
Returns an array that is the intersection of all the arrays. Each value in the result is present in each of the arrays.

Sample:

intersection([1, 2, 3], [101, 2, 1, 10], [2, 1])
// => [1, 2]

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

No branches or pull requests

1 participant