title: Assert arrays in Protractor
body: <p>I am working on E2E tests and my goal is to compare two arrays. I set these arrays so that they are identical. The problem is that Protractor doesn't think they are same.</p>
  
  <p>My code:</p>
  
  <blockquote>
    <p>expect(arrPuv).toBe(arrNov);</p>
  </blockquote>
  
  <p>Console output:</p>
  
  <blockquote>
    <p>Error: Expected [ '1 patro', '2. Patro', 'asdf', 'My precious', 'My precious', 'My precious', 'My precious' ] to be [ '1 patro', '2. Patro', 'asdf', 'My precious', 'My precious', 'My precious', 'My precious' ].</p>
  </blockquote>
  
  <p>How can I compare them correctly?</p>