Course · Section 10: A Closer Look at Functions · Lecture 141: The bind Method
Using `bind` to pre-set the first argument of an `add(a, b)` function to `5`, implement `addFiveToAll(nums)` that maps the bound adder over `nums`.
+ 1 hidden test run on Submit.
bind creates a partially applied adder with the first argument fixed at 5.
Run your code to see results.