BigBinary Academy
JavaScript
Exercises Set 12
68.59
Search
Assessment
68.59
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