Previously, I asked here
JavaScript Event implementation to Closure based Object
Now, I wonder if this style can be employed with with Node require('util').inherits().
The target code would be
https://github.com/kenokabe/WebSocketStream/blob/master/main.js
Here there is
- Object
- require('util').inherits()
- Prototype Override methods
and I wonder if possible to rewrite code on Closure based Object.
Thanks for your advice.