Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

Commit 837dde3

Browse files
LinusUzkat
authored andcommitted
Fix string coercion in murmurhex (#15)
PR-URL: #15 Credit: @LinusU Reviewed-By: @zkat
1 parent b55824e commit 837dde3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var iferr = require('iferr')
77
function murmurhex () {
88
var hash = MurmurHash3('')
99
for (var ii = 0; ii < arguments.length; ++ii) {
10-
hash.hash(hash + arguments[ii])
10+
hash.hash('' + arguments[ii])
1111
}
1212
return hash.result()
1313
}

0 commit comments

Comments
 (0)