We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c480f9 commit bdfed1aCopy full SHA for bdfed1a
doc/api/perf_hooks.md
@@ -202,7 +202,7 @@ const obs = new PerformanceObserver((list) => {
202
obs.disconnect();
203
performance.clearFunctions();
204
});
205
-obs.observe({ entryTypes: 'function' });
+obs.observe({ entryTypes: ['function'] });
206
207
// A performance timeline entry will be created
208
wrapped();
@@ -655,4 +655,5 @@ require('some-module');
655
```
656
657
[`timeOrigin`]: https://w3c.github.io/hr-time/#dom-performance-timeorigin
658
+[Async Hooks]: async_hooks.html
659
[W3C Performance Timeline]: https://w3c.github.io/performance-timeline/
0 commit comments