Skip to content

Commit 3e028a1

Browse files
cjihrigFishrock123
authored andcommitted
doc: remove obsolete comment in isError() example
One of the util.isError() examples states that a harmony flag is required. As of v6.0.0, this is no longer true. This commit removes the out of date reference. Refs: #5414 PR-URL: #6486 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent 969f96a commit 3e028a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/api/util.md

-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ possible to obtain an incorrect result when the `object` argument manipulates
341341
`@@toStringTag`.
342342

343343
```js
344-
// This example requires the `--harmony-tostring` flag
345344
const util = require('util');
346345
const obj = { name: 'Error', message: 'an error occurred' };
347346

0 commit comments

Comments
 (0)