util: set `super_` property to non-enumerable
Using util.inherits()
adds a super_
property to the constructor
and inspecting that constructor is going to show that property even
though it's not useful for the user.
Therefore the property is now set as non-enumerable and such entries
are not visible by default when using console.log()
or
util.inspect()
.
This significantly reduces the amount of data shown when inspecting streams.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines