Merge pull request #140 from shfshanyue/master

fix: arrow function in setoid
This commit is contained in:
hemanth.hm 2017-03-07 14:17:39 +05:30 committed by GitHub
commit f279ee6490

View file

@ -675,7 +675,7 @@ An object that has an `equals` function which can be used to compare other objec
Make array a setoid:
```js
Array.prototype.equals = (arr) => {
Array.prototype.equals = function (arr) {
const len = this.length
if (len !== arr.length) {
return false