Skip to content

Commit

Permalink
doc: "util" is not needed to extend ES6 classes
Browse files Browse the repository at this point in the history
PR-URL: #9737
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Italo A. Casas <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Adam Brunner authored and MylesBorins committed Dec 20, 2016
1 parent 4334d6a commit 1c9817c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ stream.write('It works!'); // Received data: "It works!"
ES6 example using `class` and `extends`

```js
const util = require('util');
const EventEmitter = require('events');

class MyStream extends EventEmitter {
Expand Down

0 comments on commit 1c9817c

Please sign in to comment.