From d09c972fde7c608eaa3eba823ad5c9b114855783 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 29 Apr 2016 22:24:22 -0400 Subject: [PATCH] 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 Reviewed-By: Benjamin Gruenbaum --- doc/api/util.md | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/api/util.md b/doc/api/util.md index d298ae4b44..7855bfe8b4 100644 --- a/doc/api/util.md +++ b/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' };