Reference · Draw a bracket, a table or a road to the final
judoClockfunction
Seconds as m:ss.
Import it
import { judoClock } from "@johnmorrisdotca/taisen-brackets";
Definition
function judoClock(seconds: number): string
Parameters
| Name | Type | Description |
|---|---|---|
seconds | number | The seconds. |
Returns
string
The clock text.
Examples
import { judoClock } from "@johnmorrisdotca/taisen-brackets";
console.log(judoClock(134), judoClock(5));2:14 0:05What it prints (run when this page was built)