Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dd12661

Browse filesBrowse files
r1brvagg
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 9a44c8c commit dd12661
Copy full SHA for dd12661

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/process.markdown‎

Copy file name to clipboardExpand all lines: doc/api/process.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.