(values: number[])
| 88 | } |
| 89 | |
| 90 | function mean(values: number[]): number { |
| 91 | if (values.length === 0) return 0; |
| 92 | return values.reduce((a, b) => a + b, 0) / values.length; |
| 93 | } |
| 94 | |
| 95 | function main() { |
| 96 | const [oldPath, newPath] = process.argv.slice(2); |