From e5a7cec828e4fc44a15e9c4a58e0f3ed696f84e6 Mon Sep 17 00:00:00 2001 From: Mohsen Date: Tue, 17 May 2016 18:10:28 +0430 Subject: [PATCH] doc: fix typo in Error.captureStackTrace PR-URL: https://github.com/nodejs/node/pull/6811 Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Roman Reiss Reviewed-By: Sakthipriyan Vairamani --- doc/api/errors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/errors.md b/doc/api/errors.md index bb83ef1320a25d..e80dabe609400a 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -231,7 +231,7 @@ function MyError() { } // Without passing MyError to captureStackTrace, the MyError -// frame would should up in the .stack property. by passing +// frame would show up in the .stack property. By passing // the constructor, we omit that frame and all frames above it. new MyError().stack ```