From 50b46665ffa0b11cb713d64e635f41b1dee4d5f8 Mon Sep 17 00:00:00 2001 From: shfshanyue Date: Fri, 3 Mar 2017 11:15:50 +0800 Subject: [PATCH] fix: arrow function in setoid --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 2875c43..95f31f0 100644 --- a/readme.md +++ b/readme.md @@ -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