ramda / ramda

:ram: Practical functional Javascript

Home Page:https://ramdajs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`equals` returns false if the ordering is different

skjo0c opened this issue · comments

commented

If the ordering of data is different in two array, equals function returns false.

image

It should return false as they are not equal.

For two arrays to be equal, they must have the same value at each index.

In your example, arr1[1] doesn't equal arr2[1].