If i have two arrays like so:
var array1 = ['this', 'is', 'array', '1']
var array2 = ['this', 'is', '1']
Is there a built in function that can determine if array1 contains array2. Which in this case it does.
Alternatively some intersect function or similar?