© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Pravin Gunjal
I love coding
One Liner for Infinite currying of above sum function is as per below:
const sum = a => b => b ? sum(a + b) : a;