Back to Timing
toc
Stop the timer and return elapsed seconds.
Syntax
toc() → Elapsed time in seconds since last tic()
Backends
TypeScript
Description
Stop the timer and return elapsed seconds.
Returns
Elapsed time in seconds since last tic()
Examples
Try It
>> toc()