Ad
Code
Diff
  • $=_=>_<!_?!!_+!_:_*$(_-!!_+!_)
    factorial=$
    • const factorial = (n, product=1) => n < 2 ? product : factorial(n-1, n*product);
    • $=_=>_<!_?!!_+!_:_*$(_-!!_+!_)
    • factorial=$