Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 632b411

Browse filesBrowse 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
Copy full SHA for 632b411

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/console.md‎

Copy file name to clipboardExpand all lines: doc/api/console.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.