mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
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>
This commit is contained in:
parent
81aef8c1c0
commit
d09c972fde
@ -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…
Reference in New Issue
Block a user