Skip to content

Commit 65af114

Browse files
Adam Brunneraddaleax
authored andcommitted
doc: "util" is not needed to extend ES6 classes
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>
1 parent 2fb8257 commit 65af114

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/api/util.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ stream.write('It works!'); // Received data: "It works!"
180180
ES6 example using `class` and `extends`
181181

182182
```js
183-
const util = require('util');
184183
const EventEmitter = require('events');
185184

186185
class MyStream extends EventEmitter {

0 commit comments

Comments
 (0)