Course · Section 10: A Closer Look at Functions · Lecture 144: Closures
Implement `multiplyWith(factor, n)` that uses a closure internally: create a function that multiplies by `factor`, then apply it to `n` and return the result.
+ 2 hidden tests run on Submit.
The returned multiplier captures factor by closure and applies it to each value.
Run your code to see results.