The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

jessebeach (3) [Avatar] Offline
This is the example code in 1.5.3:

var util = require('util'); var events = require('events'); function MyClass() {; } util.inherits(MyStream, events.EventEmitter);

Was it intentional to have both "MyClass" and "MyStream" or should these have the same name? If they are meant to be different names, then the example requires a little more detail, since MyStream is never defined.
wavded (13) [Avatar] Offline
Re: Code example in 1.5.3
Thanks for the comment. This chapter has gone further revision and technical review from when you first read it and should be free of the error you mentioned.