Skip to content

Instantly share code, notes, and snippets.

class: center, middle

String Search

(ie indexOf)


Prompt

Curry


Interviewer Prompt (a)

Currying is the process by which a function of N arguments is implemented as N single-argument functions such that first of them takes in the first argument and returns a function which takes in the 2nd argument and so on, until the Nth single-argument function finally returns the value of the multi-argument function being implemented.

Your Task: