GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: added note warning about change to console.endTime() · nodejs/node@fd37d54

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • console.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/console.md‎

Copy file name to clipboardExpand all lines: doc/api/console.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,11 @@ console.timeEnd('100-elements');
230230
// prints 100-elements: 225.438ms
231231
```
232232

233+
*Note: As of Node.js v6.0.0, `console.timeEnd()` deletes the timer to avoid
234+
leaking it. On older versions, the timer persisted. This allowed
235+
`console.timeEnd()` to be called multiple times for the same label. This
236+
functionality was unintended and is no longer supported.*
237+
233238
### console.trace(message[, ...])
234239

235240
Prints to `stderr` the string `'Trace :'`, followed by the [`util.format()`][]

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.