I have an array of arrays, which looks something like this:
[[\"Some string\", \"Some other string\"],[\"Some third string\", \"some fourth string\"]]
Use underscore to determine the difference between the two, and check the length of the array. An easy way to do this would be:
_.isEmpty(_.difference(array1, array2)) && _.isEmpty(_.difference(array2, array1))
This will return true if they are the same and false if they are not.
true
false