Skip to content

Commit

Permalink
fix: minor eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed Dec 10, 2023
1 parent 30e6689 commit 2ed52e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ export default class Qsu {

let hash = 0;

for (let i = 0; i < str.length; i++) {
for (let i = 0; i < str.length; i += 1) {
hash = (hash << 5) - hash + str.charCodeAt(i);
hash |= 0;
}
Expand Down

0 comments on commit 2ed52e7

Please sign in to comment.