Javascript String hash()
hash()
String.prototype.hash = function () { var hash = 5381; var index = this.length; while (index) { hash = (hash * 33) ^ this.charCodeAt(--index); }//from w w w. j a va 2 s. c o m return hash >>> 0; }; //# sourceMappingURL=stringExtension.js.map