From 9aa225a1d22607a8fc5a029573ba41c59ebe9ba6 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.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/errors.markdown b/doc/api/errors.markdown index efb469ec46f05d..8f5a0abf3321df 100644 --- a/doc/api/errors.markdown +++ b/doc/api/errors.markdown @@ -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 ```