Add strict equalities in src/core/murmurhash3.js

This commit is contained in:
Jonas Jenwald 2014-08-01 21:05:50 +02:00
parent 8f5894d81a
commit a154ca2dd3

View File

@ -48,7 +48,7 @@ var MurmurHash3_64 = (function MurmurHash3_64Closure (seed) {
update: function MurmurHash3_64_update(input) {
var useUint32ArrayView = alwaysUseUint32ArrayView;
var i;
if (typeof input == 'string') {
if (typeof input === 'string') {
var data = new Uint8Array(input.length * 2);
var length = 0;
for (i = 0; i < input.length; i++) {