(n: number)
| 177 | } |
| 178 | |
| 179 | function formatNumber(n: number): string { |
| 180 | return new Intl.NumberFormat().format(Math.floor(n)); |
| 181 | } |
| 182 | |
| 183 | function formatBytes(bytes: number): string { |
| 184 | if (bytes < 1024) return `${bytes} B`; |
no outgoing calls
no test coverage detected