Skip to content

Commit cdd647c

Browse files
author
Christian Bender
committed
Put in defaultCompare the constant EQUALS
1 parent 90aaa3c commit cdd647c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function biggerEquals(a, b, compareFn) {
1818

1919
export function defaultCompare(a, b) {
2020
if (a === b) {
21-
return 0;
21+
return Compare.EQUALS;
2222
}
2323
return a < b ? Compare.LESS_THAN : Compare.BIGGER_THAN;
2424
}

0 commit comments

Comments
 (0)