doc: "util" is not needed to extend ES6 classes

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Adam Brunner 2016-11-22 10:03:04 +01:00 committed by Roman Reiss
parent 2486273c0e
commit aa1333ff3b
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443

View File

@ -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 {