Skip to content

Commit 50b4666

Browse files
committed
fix: arrow function in setoid
1 parent 4ff65ed commit 50b4666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ An object that has an `equals` function which can be used to compare other objec
675675
Make array a setoid:
676676

677677
```js
678-
Array.prototype.equals = (arr) => {
678+
Array.prototype.equals = function (arr) {
679679
const len = this.length
680680
if (len !== arr.length) {
681681
return false

0 commit comments

Comments
 (0)