Input: functionLength((a, b = 1, ...rest) => {}) Output: 1
Implement a utility that returns how many parameters a function expects, following JavaScript function-arity rules.