Skip to content

Commit 5176346

Browse files
r1bMyles Borins
authored andcommitted
doc: include typo in 'unhandledRejection' example
Reintroduces an intentional typo in a process doc example. Fixes: #5644 PR-URL: #5654 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
1 parent cae5da2 commit 5176346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ event:
163163

164164
```js
165165
somePromise.then((res) => {
166-
return reportToUser(JSON.parse(res)); // note the typo
166+
return reportToUser(JSON.pasre(res)); // note the typo (`pasre`)
167167
}); // no `.catch` or `.then`
168168
```
169169

0 commit comments

Comments
 (0)