Put in order · JavaScript and TypeScript course · Module 12: Functional Programming

Stages of Currying

Arrange the stages of creating a specialized function through currying:

Items to put in order

  • Provide subsequent arguments, further specializing the function
  • Define a general curried function with multiple parameters
  • Provide the first argument, creating a partially applied function
  • Provide the last argument, obtaining the final result

You can check the correct answer by solving this task in the CodeWorlds game.