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: nodejs#5414
  • Loading branch information
cjihrig committed Apr 30, 2016
1 parent d3aafd0 commit d4f147e
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 d4f147e

Please sign in to comment.