Skip to content

Commit 1e206eb

Browse files
authored
Merge pull request loiane#59 from christianbender/changed_util.js
Put in defaultCompare the constant EQUALS
2 parents 2a213c0 + cdd647c commit 1e206eb

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)