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 5cfc547

Browse filesBrowse files
erj826targos
authored andcommitted
doc: fix sync comment in observer snippet
PR-URL: #41262 Refs: #41259 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
1 parent d62fe31 commit 5cfc547
Copy full SHA for 5cfc547

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/perf_hooks.md‎

Copy file name to clipboardExpand all lines: doc/api/perf_hooks.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ const {
647647
} = require('perf_hooks');
648648

649649
const obs = new PerformanceObserver((list, observer) => {
650-
// Called three times synchronously. `list` contains one item.
650+
// Called once asynchronously. `list` contains three items.
651651
});
652652
obs.observe({ type: 'mark' });
653653

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.