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 silverwind committed Nov 23, 2016
1 parent 2486273 commit aa1333f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/api/util.md
Expand Up @@ -180,7 +180,6 @@ stream.write('It works!'); // Received data: "It works!"
ES6 example using `class` and `extends` ES6 example using `class` and `extends`


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


class MyStream extends EventEmitter { class MyStream extends EventEmitter {
Expand Down

0 comments on commit aa1333f

Please sign in to comment.