Array intersection

Obtain the intersection between two arrays
```typeof array``` will return ```object```. A better way to test this: ```Array.isArray(array)```