Skip to content

Commit

Permalink
doc: corrected nits to console.md
Browse files Browse the repository at this point in the history
Following review, removed tab references.

Fixes: nodejs#16755
  • Loading branch information
Tiriel committed Nov 19, 2017
1 parent 757f182 commit 1bef307
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/console.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ The `console.warn()` function is an alias for [`console.error()`][].

## Inspector only methods
The following methods are exposed by the V8 engine in the general API but do
not display anything unless used in conjunction with the [inspector][] tab
not display anything unless used in conjunction with the [inspector][]
(`--inspect` flag).

### console.debug(data[, ...args])
Expand Down Expand Up @@ -475,7 +475,7 @@ the **Profile** panel of the inspector.
console.profile('MyLabel');
// Some code
console.profileEnd();
// Adds the profile 'MyLabel' to the Profiles panel of the inspector tab.
// Adds the profile 'MyLabel' to the Profiles panel of the inspector.
```

### console.profileEnd()
Expand All @@ -485,7 +485,7 @@ added: v8.0.0

This method does not display anything unless used in the inspector. Stops the
current JavaScript CPU profiling session if one has been started and prints
the report to the **Profiles** panel of the inspector tab. See
the report to the **Profiles** panel of the inspector. See
[`console.profile()`][] for an example.

### console.table(array[, ...args])
Expand All @@ -506,7 +506,7 @@ added: v8.0.0

This method does not display anything unless used in the inspector. The
`console.timeStamp()` method adds an event with the label `label` to the
**Timeline** panel of the inspector tab.
**Timeline** panel of the inspector.

### console.timeline([label])
<!-- YAML
Expand Down

0 comments on commit 1bef307

Please sign in to comment.