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 <cjihrig@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Adam Brunner authored and addaleax committed Dec 5, 2016
1 parent 2fb8257 commit 65af114
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 65af114

Please sign in to comment.