Which of the following best demonstrates a curried function in JavaScript?
The expression `const add = (a) => (b) => a + b;` demonstrates a curried function. Instead of taking multiple arguments at once like `add(a, b)`, this curried version takes the first argument and returns a new function that takes the second argument. To use it, you would call it like `add(2)(3)` instead of `add(2, 3)`. The outer function captures the first argument in its closure, and the returned inner function uses that captured value along with its own argument to compute the final result.