Try like this:
var arr1= ["two", "three"];
var arr2= ["two", "three", "four", "five"];
var isarraySubset = arr1.every(function(val) { return arr2.indexOf(val) >= 0; }));
console.log(isarraySubset ); // true
Note:-
This solution will work if your supported browsers are of ECMA-262 standard.
According MDN,
"Tests whether all elements in the array pass the test implemented by
the provided function."
Here is the signature of the method:
array.every(callback[, thisObject])
where callback
is a function to test for each element, and thisObject
refers to the object that we are testing array against