Returns elapsed time since initial call, however
unlike since, timer stops when first invoked.
constelapsed = Stopwatch.once(); // ...do stuff elapsed(); // Yields time since Stopwatch.once() was called // ...do more stuff elapsed(); // Is still the same number as above
Returns elapsed time since initial call, however unlike since, timer stops when first invoked.
See also: