doc: discourage use of util.inherits · nodejs/node@d49b49e · GitHub
Skip to content

Commit d49b49e

Browse files
eljefedelrodeodeljefeevanlucas
authored andcommitted
doc: discourage use of util.inherits
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 fasing out mentions of the method. Fixes: #6512 Fixes: #4179 PR-URL: #6514 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 925fc36 commit d49b49e

3 files changed

Lines changed: 196 additions & 223 deletions

File tree

doc/api/events.md

Lines changed: 0 additions & 21 deletions

0 commit comments

Comments
 (0)