3 ms·
You can save one character by doing this: (x=0)=>_=>++x the underscore is another variable but a single variable does not require parenthesis. So instead of t
by awalGarg 10y ago
You can save one character by doing this:
(x=0)=>_=>++x
the underscore is another variable but a single variable does not require parenthesis. So instead of two chars for the two parens, you use a single char for a single letter variable. JS FTW ;)