โ† Livspace questions

Infinite Nested Curried Sum Function

Filed under Livspace

The question

Write JavaScript logic for a function that supports currying like sum(1)(2)(3)(4) == 10 and extend it to handle infinite nested function calls using recursion and currying.

No write-up yet. Related questions below have one.

Related Livspace questions

Collected from public candidate posts and coding forums. Updated Nov 2026.