public
Created

  • Download Gist
gistfile1.js
JavaScript
1 2 3 4 5 6 7 8
function containsArray3 (outer, inner) {
return !!(
-1 < ('[' + outer.join('][') + ']')
.indexOf('[' + inner.join(',') + ']')
);
}
 
// quite slow :(

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.