Skip to content

Commit b80ace1

Browse files
committed
Fix example string in Huffman example
1 parent 338ba33 commit b80ace1

File tree

1 file changed

+1
-1
lines changed
  • chapters/data_compression/huffman/code/javascript

1 file changed

+1
-1
lines changed

chapters/data_compression/huffman/code/javascript/huffman.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function makeQueue(iterable) {
7777
};
7878
}
7979

80-
const encoded = encode("Hello, World!");
80+
const encoded = encode("bibbity bobbity");
8181
const decoded = decode(encoded.string, encoded.tree);
8282
console.log(encoded.string);
8383
console.log(decoded);

0 commit comments

Comments
 (0)