doc: discourage use of util.inherits; point to es6 extends
Checklist
-
tests and code linting passes -
documentation is changed or added -
the commit message follows commit guidelines
Affected core subsystem(s)
doc
Description of change
util.inherits breaks the prototype chain. A fix does not seem useful, since ES6 extends provides language level support for the same functionality.
This commit starts phase out mentions of the method.
Fixes: #4179 (closed), #6512 (closed)