The arrow function pick is written as a => a. What happens when pick(4, 9) is evaluated?
It returns 9 because the last argument wins
It returns an array containing 4 and 9
It throws an arity error before the body runs
It returns 4 and the extra argument does not block the call✓Correct answer
Explanation
The call is valid even though it supplies more arguments than pick has named parameters. The parameter a receives 4 and the expression returns it; JavaScript does not enforce an exact argument count for an ordinary call.