SS// one liner :- const sum = a => b => b?sum(a+b):a;Comment·Article·Jan 18, 2023·Javascript Interview Questions ( Currying ) - Output based Questions, Partial Application and more