Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit ecd709d

Browse files
committed
Fix: typo in README
1 parent fddc5f2 commit ecd709d

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
@@ -118,7 +118,7 @@ const { stableJsonStringify } = require('@tuft/json-stringify');
118118

119119
// Sorts keys in descending alphabetical order.
120120
function compareFunction(keyA, keyB) {
121-
return a < b ? 1 : -1;
121+
return keyA < keyB ? 1 : -1;
122122
}
123123

124124
const obj = {

0 commit comments

Comments
 (0)