Engrain by ByteRush

JS.14.05 Mid-levelCore — asked often

curry, partial and compose/pipe

Comes up in: Coding

This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.

What it covers

  • curry by arity
  • infinite curry sum(1)(2)()
  • placeholders (_)
  • compose/pipe, including async pipe

Words you will know

—

What you will practise

  • implement curry with placeholder
  • asyncPipe

Interview questions this answers

  • Implement curry that supports placeholders.
  • Implement compose and pipe.