BigBinary Academy
JavaScript
Exercises Set 12
66.55
Search
Assessment
66.55
Find all common elements
The function
commonElements
should return the common elements.
If either one of the arrays is empty, return the non-empty array.
For example:
Previous
Next