In JavaScript, how do I test that one array has the elements of another array?
arr1 = [1, 2, 3, 4, 5] [8, 1, 10, 2, 3, 4, 5, 9].function_name(arr1) # => t
function arr(arr1,arr2) { for(var i=0;i