utils.ts

clamp(12, 0, 10) → 10

sum(2, 3) → 5