Skip to content

Commit

Permalink
doc: remove obsolete comment in isError() example
Browse files Browse the repository at this point in the history
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 <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
  • Loading branch information
cjihrig authored and Fishrock123 committed May 4, 2016
1 parent 969f96a commit 3e028a1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ possible to obtain an incorrect result when the `object` argument manipulates
`@@toStringTag`.

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

Expand Down

0 comments on commit 3e028a1

Please sign in to comment.