Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4736752 + b7a5d73 commit 2564baeCopy full SHA for 2564bae
README.md
@@ -1918,7 +1918,7 @@ function hashIt(data) {
1918
// Loop through every character in data
1919
for (var i = 0; i < length; i++) {
1920
// Get character code.
1921
- var char = i.charCodeAt(i);
+ var char = data.charCodeAt(i);
1922
// Make the hash
1923
hash = ((hash << 5) - hash) + char;
1924
// Convert to 32-bit integer
@@ -1935,7 +1935,7 @@ function hashIt(data) {
1935
var length = data.length;
1936
1937
1938
1939
1940
1941
0 commit comments