SyntaxFix
Write A Post
Hire A Developer
Questions
import chai from 'chai'; const arr1 = [2, 1]; const arr2 = [2, 1]; chai.expect(arr1).to.eql(arr2); // Will pass. `eql` is data compare instead of object compare.