We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4a296f commit 125ed0cCopy full SHA for 125ed0c
doc/api/console.md
@@ -469,10 +469,10 @@ Stops a timer that was previously started by calling [`console.time()`][] and
469
prints the result to `stdout`:
470
471
```js
472
-console.time('100-elements');
473
-for (let i = 0; i < 100; i++) {}
474
-console.timeEnd('100-elements');
475
-// prints 100-elements: 225.438ms
+console.time('bunch-of-stuff');
+// Do a bunch of stuff.
+console.timeEnd('bunch-of-stuff');
+// Prints: bunch-of-stuff: 225.438ms
476
```
477
478
### `console.timeLog([label][, ...data])`
0 commit comments