Constructor
new Timer()
Example
const timer = new jasmine.Timer();
timer.start();
const elapsed = timer.elapsed()
Methods
elapsed() → {number}
Determines the time since the timer was started.
Returns:
Elapsed time in milliseconds, or NaN if the timer has not been started
- Type
- number
start()
Starts the timer.