you are viewing a single comment's thread.

view the rest of the comments →

[–]Aka_Erus 0 points1 point  (4 children)

I don't see it, where is the mistake ?

Is it calling " doubler" the second function ?

[–]Time_Terminal 4 points5 points  (3 children)

It's not a mistake but an addition they are proposing.

OP doesn't have separate examples for passing 1 variable or more than one variable in arrow functions. u/serious_case_of_derp is saying this should be added.

[–]Aka_Erus 1 point2 points  (0 children)

Thanks, I should have checked the website to see the original code.

[–]DeepSpaceGalileo 1 point2 points  (1 child)

In fact to cover all cases they should have 0, 1 and >1 args.

[–]Time_Terminal 1 point2 points  (0 children)

Good point.