Skip to content

Commit e2488fa

Browse files
r1bclaudiorodriguez
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 <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent 10bc673 commit e2488fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.markdown

+1-1
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)