If you find any any errors in Node.js in Practice not listed below, or just find something that you think is not well explained, it would be most appreciated if you would post in the book's Google Group forum so that they may be collected here for everyone's benefit. Thanks!
Some newline (\n
) characters were truncated to simply an n
character during production in various code examples in the book. For instance:
Page 97, Listing 5.6
lineIndex = this._buffer.indexOf('n');
should be
lineIndex = this._buffer.indexOf('\n');