File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -74,16 +74,16 @@ Defaults to `false`. Colors are customizable, see below.
7474
7575### console.time(label)
7676
77- Used to calculate the duration of a specific operation. To start a timer, call
78- the ` console.time() ` method, giving it a name as only parameter. To stop the
79- timer, and to get the elapsed time in milliseconds, just call the
80- [ ` console.timeEnd() ` ] ( #console_console_timeend_label ) method, again passing the
81- timer's name as the parameter .
77+ Starts a timer that can be used to compute the duration of an operation. Timers
78+ are identified by a unique name. Use the same name when you call
79+ [ ` console.timeEnd() ` ] ( #console_console_timeend_label ) to stop the timer and
80+ output the elapsed time in milliseconds. Timer durations are accurate to the
81+ sub-millisecond .
8282
8383### console.timeEnd(label)
8484
8585Stops a timer that was previously started by calling
86- [ ` console.time() ` ] ( #console_console_time_label ) and print the result to the
86+ [ ` console.time() ` ] ( #console_console_time_label ) and prints the result to the
8787console.
8888
8989Example:
You can’t perform that action at this time.
0 commit comments