Q. Arguments Oprional

Q. Arguments Optional
is it possible to solve this question with an arrow function? thanks in advance

I don’t see why not. Is there something that you see that makes you suspect that you cannot?

Yes, like with arrow functions we cannot use arguments right, so I tried it with REST operator. failed a few times thinking that we have used the recursive function and then I used the blank function to fetch the second value.

Hard to say without seeing any code, but a rest operator should be fine.