Guest User

Untitled

a guest
Apr 27th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function containsArray3 (outer, inner) {
  2. return !!(
  3. -1 < ('[' + outer.join('][') + ']')
  4. .indexOf('[' + inner.join(',') + ']')
  5. );
  6. }
  7.  
  8. // quite slow :(
Add Comment
Please, Sign In to add comment