Skip to content

Commit 958522e

Browse files
author
Yuta Imaya
committed
fix issues #45 : typo
1 parent 4971111 commit 958522e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rawinflate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Zlib.RawInflate.prototype.readCodeByTable = function(table) {
334334
codeLength = codeWithLength >>> 16;
335335

336336
if (codeLength > bitsbuflen) {
337-
throw new ('invalid code length: ' + codeLength);
337+
throw new Error('invalid code length: ' + codeLength);
338338
}
339339

340340
this.bitsbuf = bitsbuf >> codeLength;

0 commit comments

Comments
 (0)