Browse Source

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: https://github.com/nodejs/node/pull/5414
PR-URL: https://github.com/nodejs/node/pull/6486
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
v6.x
cjihrig 9 years ago
committed by Jeremiah Senkpiel
parent
commit
3e028a143c
  1. 1
      doc/api/util.md

1
doc/api/util.md

@ -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' };

Loading…
Cancel
Save