HomePremium · ₹999
17.

Implement an infinitely curried addition function

Medium

Example: console.log(add(1)(2)(3)(4)) — Implement this both with and without extra empty parentheses at the end.

Top 20 JavaScript Interview Questions for FAANG & Product Companies | Mentoxis Resources | Mentoxis