Skip to content

Commit 632b411

Browse files
JonathanMontaneevanlucas
authored andcommitted
doc: improved syntax consistency in console.md
`stdout` was written as `inline code` most of the time, except for the `console.time` and `console.timeEnd` functions which made it a bit more tedious to read about. Now it's always using inline code. PR-URL: #7062 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 826bd99 commit 632b411

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/console.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,15 +236,15 @@ added: v0.1.104
236236
Starts a timer that can be used to compute the duration of an operation. Timers
237237
are identified by a unique `label`. Use the same `label` when you call
238238
[`console.timeEnd()`][] to stop the timer and output the elapsed time in
239-
milliseconds to stdout. Timer durations are accurate to the sub-millisecond.
239+
milliseconds to `stdout`. Timer durations are accurate to the sub-millisecond.
240240

241241
### console.timeEnd(label)
242242
<!-- YAML
243243
added: v0.1.104
244244
-->
245245

246246
Stops a timer that was previously started by calling [`console.time()`][] and
247-
prints the result to stdout:
247+
prints the result to `stdout`:
248248

249249
```js
250250
console.time('100-elements');

0 commit comments

Comments
 (0)