Comparison of the contents of two arrays. Position of elements is ignored.
arrayCompare(['a', 'b'], ['b', 'a']) // truearrayCompare(['a', 'b'], ['b']) // falsearrayCompare('asdf1234', '1234asdf') // true Copy
arrayCompare(['a', 'b'], ['b', 'a']) // truearrayCompare(['a', 'b'], ['b']) // falsearrayCompare('asdf1234', '1234asdf') // true
Comparison of the contents of two arrays. Position of elements is ignored.