Skip to main content
1 of 4
machineghost
  • 36k
  • 33
  • 174
  • 271

jQuery does not have a method for comparing arrays. However the Underscore library does have such a method (isEqual), and it can handle a variety of other cases (like object literals) as well.

Underscore has lots of other methods that jQuery is missing as well, so it's a great complement to jQuery.

machineghost
  • 36k
  • 33
  • 174
  • 271