commercetools interview question

What is the main reason for currying a function in JavaScript