Arguments-Optional
Create a function that sums two arguments together. If only one argument is provided, then return a function that expects one argument and returns the sum.
- 1
- JavaScript
- 4 y ago
Create a function that sums two arguments together. If only one argument is provided, then return a function that expects one argument and returns the sum.