Skip to content

Commit

Permalink
doc: indicate that name is no longer an optional argument
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 15, 2023
1 parent 0b328b2 commit 33f310e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/perf_hooks.md
Expand Up @@ -214,15 +214,15 @@ 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
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.
Expand Down

0 comments on commit 33f310e

Please sign in to comment.