Check if two arrays are equal
It checks that the elements and order are the same.
npm install array-equalimport arrayEqual from 'array-equal';
arrayEqual([1, 2, 3], [1, 2, 3]);
//=> true
arrayEqual([1, 2, 3], [1, 2, 3, 4]);
//=> falseCheck if two arrays are equal