From 33f310e51ffa17662edadf83c35146af7ddcc194 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 15 Mar 2023 12:35:39 +0000 Subject: [PATCH] doc: indicate that `name` is no longer an optional argument --- doc/api/perf_hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index 1c18395662f171..8323b9ab03fcd0 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -214,7 +214,7 @@ Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` whose `performanceEntry.entryType` is equal to `type`. -### `performance.mark([name[, options]])` +### `performance.mark(name[, options])`