Skip to content

Commit

Permalink
Fix missing parenthesis, however array literal notation is preferrabl…
Browse files Browse the repository at this point in the history
…e anyway.
  • Loading branch information
Joncom committed Jul 28, 2014
1 parent 66e91a7 commit 9a77d26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LZWEncoder.js
Expand Up @@ -39,8 +39,8 @@ LZWEncoder = function()
var maxbits = BITS; // user settable max # bits/code
var maxcode; // maximum code, given n_bits
var maxmaxcode = 1 << BITS; // should NEVER generate this code
var htab = new Array;
var codetab = new Array;
var htab = [];
var codetab = [];
var hsize = HSIZE; // for dynamic table sizing
var free_ent = 0; // first unused entry

Expand Down

0 comments on commit 9a77d26

Please sign in to comment.