UNPKG

@splitsoftware/splitio-commons

Version:
7 lines (6 loc) 126 B
export function timer(now) { var st = now(); return function stop() { return Math.round(now() - st); }; }