r/learnjavascript • • Apr 29 '19

I made a Javascript cheat sheet

I don't know if it can help someone else besides me, but, here it is the Github Project and the web site I made.

Contributions and feedback are always welcome.

Edit: fixed the repo link.

254 Upvotes

30 comments sorted by

View all comments

Show parent comments

1

u/Aka_Erus Apr 29 '19

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

Is it calling " doubler" the second function ?

5

u/Time_Terminal Apr 29 '19

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.

2

u/DeepSpaceGalileo Apr 30 '19

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

2

u/Time_Terminal Apr 30 '19

Good point.