Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: added note warning about change to console.endTime()
Unintended functionality was removed from console.endTime by
#3562. Prior to that, you could
call console.endTime multiple times for the same label.
  • Loading branch information
ben-page committed Apr 28, 2016
commit dad5c2c02df78b66f249fef982b0a84c9d7932f4
5 changes: 5 additions & 0 deletions doc/api/console.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,11 @@ console.timeEnd('100-elements');
// prints 100-elements: 225.438ms
```

*Note: As of Node.js v6.0.0, `console.timeEnd()` deletes the timer to avoid
leaking it. On older versions, the timer persisted. This allowed
`console.timeEnd()` to be called multiple times for the same label. This
functionality was unintended and is no longer supported.*

### console.trace(message[, ...])

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