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 <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
This commit is contained in:
Robert C Jensen 2016-03-10 21:33:40 -05:00 committed by Claudio Rodriguez
parent 10bc673123
commit e2488fa953

View File

@ -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`
```