jasmine compare arrays

JavaScript
expect(array).toEqual(jasmine.arrayContaining(["your", "stuff", "here"]);
Source

Also in JavaScript: