(id: string, text: string)
| 19 | }; |
| 20 | |
| 21 | const setText = (id: string, text: string): void => { |
| 22 | const el = document.getElementById(id); |
| 23 | if (!el) return; |
| 24 | el.textContent = text; |
| 25 | }; |
| 26 | |
| 27 | const formatInt = (() => { |
| 28 | const nf = new Intl.NumberFormat(undefined); |
no outgoing calls
no test coverage detected