Sum of all arguments passed with currying support
Filed under Dunnhumby
The question
Write a function in C# or JavaScript to find the sum of all arguments passed, supporting multiple function calls and ending when an empty argument is passed.
No write-up yet. Related questions below have one.
Related Dunnhumby questions
Collected from public candidate posts and coding forums. Updated Nov 2026.