Browse Source

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>
v6
Adam Brunner 8 years ago
committed by Roman Reiss
parent
commit
aa1333ff3b
No known key found for this signature in database GPG Key ID: 2E62B41C93869443
  1. 1
      doc/api/util.md

1
doc/api/util.md

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

Loading…
Cancel
Save