From dd12661173ad15b073e575e814535900cfa21f79 Mon Sep 17 00:00:00 2001 From: Robert C Jensen Date: Thu, 10 Mar 2016 21:33:40 -0500 Subject: [PATCH] doc: include typo in 'unhandledRejection' example Reintroduces an intentional typo in a process doc example. Fixes: https://github.com/nodejs/node/issues/5644 PR-URL: https://github.com/nodejs/node/pull/5654 Reviewed-By: James M Snell Reviewed-By: Rich Trott Reviewed-By: Jeremiah Senkpiel --- doc/api/process.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/process.markdown b/doc/api/process.markdown index 0c046d66e2d851..87229205613339 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -163,7 +163,7 @@ event: ```js somePromise.then((res) => { - return reportToUser(JSON.parse(res)); // note the typo + return reportToUser(JSON.pasre(res)); // note the typo (`pasre`) }); // no `.catch` or `.then` ```