0

I just found out that you can add more parentheses to an arrow function. What is the difference/benefits?

const func_a = () => {}

const func_b = () => () => {}

const func_c = () => () => () => {}
Dave
  • 5
  • 1
  • 7

0 Answers0