Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
84 B · 3 lines
TypeScript
1234export function add(...args: number[]) { return args.reduce((a, b) => a + b, 0)}