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 authored and Claudio Rodriguez committed 2016-03-12 14:59:52 -03:00
1 parent 10bc673123
commit e2488fa953
1 file changed
+1 -1
+1 -1
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`
```