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
PR-URL: nodejs#6486
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
  • Loading branch information
cjihrig authored and joelostrowski committed May 4, 2016
1 parent 0ff0727 commit 5617bfa
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 5617bfa

Please sign in to comment.