doc: indicate that name is no longer an optional argument

PR-URL: https://github.com/nodejs/node/pull/47102
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
This commit is contained in:
Daniel Roe authored and GitHub committed 2023-03-17 12:48:53 +00:00
1 parent c3537ae8cc
commit 7deb09cd96
1 file changed
+2 -2
+2 -2
View File
@@ -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])`
<!-- YAML
added: v8.5.0
@@ -222,7 +222,7 @@ changes:
- version: v19.0.0
pr-url: https://github.com/nodejs/node/pull/44483
description: This method must be called with the `performance` object as
the receiver.
the receiver. The name argument is no longer optional.
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37136
description: Updated to conform to the User Timing Level 3 specification.