0

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

  1. Object
  2. require('util').inherits()
  3. Prototype Override methods

and I wonder if possible to rewrite code on Closure based Object.

Thanks for your advice.

Community
  • 1
  • 1

0 Answers0