From 0b7c9a131ff81fc4cb81e8d593ba8b583b45385f Mon Sep 17 00:00:00 2001 From: Eric Jacobson Date: Tue, 21 Dec 2021 09:51:30 -0500 Subject: [PATCH] doc: fix sync comment in observer snippet --- doc/api/perf_hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index d3978958c5081f..cbdd34bdb52830 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -647,7 +647,7 @@ const { } = require('perf_hooks'); const obs = new PerformanceObserver((list, observer) => { - // Called three times synchronously. `list` contains one item. + // Called once asynchronously. `list` contains three items. }); obs.observe({ type: 'mark' });